/* Privacy and Terms use the landing page's palette, type, and brand treatment. */
*, *::before, *::after { box-sizing: border-box; }

:root {
  color-scheme: light;
  --ground: #f8fbff;
  --white: #fff;
  --sky: #eef4ff;
  --sky-2: #e2ebff;
  --cobalt: #2050d6;
  --cobalt-deep: #173fae;
  --ink: #182944;
  --logo-ink: #1a1a18;
  --logo-blue: #2b5478;
  --slate: #4f5e7f;
  --line: #dbe3f1;
  --display: 'Special Gothic', 'Public Sans', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 3.4vw, 52px);
}

html { background: var(--ground); scrollbar-color: #c3d0e8 var(--ground); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ground);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #c9d8ff; color: var(--ink); }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1536px; margin: 0 auto; padding-inline: var(--gutter); }

/* Keep the header and wordmark aligned with the homepage. */
#nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  min-height: 56px;
  padding-inline: calc(var(--gutter) + clamp(0px, 1.7vw, 26px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--logo-ink);
  font: 700 18px/1 'Bricolage Grotesque', sans-serif;
  letter-spacing: -.3px;
  text-decoration: none;
  white-space: nowrap;
}
.logo svg { width: 26px; height: 26px; flex: none; color: var(--logo-blue); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links > a:not(.nav-cta) {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.nav-links > a:not(.nav-cta):hover { color: var(--cobalt); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--cobalt);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.nav-cta:hover {
  background: var(--cobalt-deep);
  box-shadow: 0 10px 24px -14px rgba(24, 41, 68, .35);
}

.legal-hero {
  background: linear-gradient(115deg, var(--ground) 0%, var(--sky) 64%, var(--sky-2) 100%);
  border-bottom: 1px solid var(--line);
}
.legal-hero-inner { max-width: 900px; margin: 0 auto; padding: clamp(58px, 7vw, 96px) var(--gutter) clamp(40px, 5vw, 68px); }
.legal-hero h1 {
  margin: 0 0 15px;
  font: 700 clamp(2.7rem, 5vw, 4.5rem)/1.05 var(--display);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.meta { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.6; }
.meta strong { color: var(--ink); font-weight: 600; }

.content { max-width: 900px; margin: 0 auto; padding: clamp(44px, 5vw, 72px) var(--gutter) clamp(64px, 7vw, 104px); }
.content > * { max-width: 74ch; }
.content p, .content li { color: var(--slate); }
.content p { margin: 0 0 17px; }
.content h2 {
  margin: 52px 0 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: 700 clamp(1.5rem, 2vw, 1.8rem)/1.2 var(--display);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.content h3 { margin: 29px 0 10px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.35; }
.content ul { margin: 0 0 20px; padding-left: 25px; }
.content li { padding-left: 3px; margin-bottom: 9px; }
.content li::marker { color: var(--cobalt); }
.content strong { color: var(--ink); }
.content a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.content a:hover { color: var(--cobalt-deep); }
.content address {
  margin: 24px 0;
  padding: 22px 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sky);
  color: var(--slate);
  font-style: normal;
  line-height: 1.8;
}
.content hr { height: 1px; margin: 38px 0 27px; border: 0; background: var(--line); }
.content em { color: var(--slate); font-size: 15px; }

@media (max-width: 640px) {
  .nav-inner { padding-inline: var(--gutter); }
  .nav-links { gap: 10px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .nav-cta { min-height: 44px; padding-inline: 15px; }
  .legal-hero-inner { padding-block: 52px 42px; }
  .content h2 { margin-top: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta { transition: none; }
}
