:root {
  --page-bg: #ffffff;
  --text: #30343b;
  --heading: #2d3137;
  --muted: #6d7278;
  --line: #eceef1;
  --line-strong: #e0e4e8;
  --link: #2f5fd0;
  --content-width: 960px;
  --legal-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  padding-top: 5.4rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.site-header-inner {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--heading);
}

.legal-layout {
  width: min(calc(100% - 2rem), var(--legal-width));
  margin: 0 auto;
  padding: 4.5rem 0 5rem;
}

.legal-page-title {
  margin: 0 auto;
  color: var(--heading);
  max-width: 46rem;
  font-size: clamp(2.9rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
}

.legal-updated {
  margin: 1rem auto 0;
  max-width: 46rem;
  color: var(--heading);
  font-size: 1.1rem;
  line-height: 1.45;
  font-weight: 600;
  text-align: center;
}

.legal-intro {
  max-width: 46rem;
  margin: 2.6rem auto 0;
  text-align: center;
}

.legal-intro p,
.legal-section p,
.legal-section li,
.site-footer p,
.site-footer a {
  font-size: 1rem;
  line-height: 1.75;
}

.legal-intro p,
.legal-section p,
.legal-section li {
  color: var(--text);
}

.legal-intro p {
  margin: 0 0 1.35rem;
}

.legal-section {
  padding-top: 2rem;
}

.legal-section h2 {
  margin: 0 0 1rem;
  color: var(--heading);
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.35;
}

.legal-section p {
  margin: 0 0 1.1rem;
}

.legal-section ul {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
}

.legal-section li + li {
  margin-top: 0.55rem;
}

.legal-section a {
  color: var(--link);
}

.legal-section {
  max-width: 58rem;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  width: min(calc(100% - 2rem), var(--legal-width));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 0 2rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--heading);
}

.site-footer a:focus-visible {
  outline: none;
}

.site-footer a {
  line-height: 1.75;
}

.redirect-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.redirect-copy {
  max-width: 34rem;
  text-align: center;
}

.redirect-copy h1 {
  margin: 0;
  color: var(--heading);
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.redirect-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.redirect-copy a {
  color: var(--link);
}

@media (max-width: 720px) {
  .page-shell {
    padding-top: 7.1rem;
  }

  .site-header-inner,
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 1rem;
  }

  .legal-layout {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .legal-updated {
    font-size: 1rem;
  }

  .legal-intro {
    margin-top: 2.2rem;
  }
}
