/* Legal pages: document-first layout, intentionally separate from landing UI. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.policy-page {
  --legal-ink: #181817;
  --legal-text: #3f3d39;
  --legal-muted: #77736d;
  --legal-soft: #f5f4f1;
  --legal-max: 1180px;
  min-height: 100vh;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--legal-ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.policy-page a {
  color: inherit;
  text-decoration: none;
}
.policy-page svg {
  display: block;
}
.policy-page .policy-shell {
  width: min(var(--legal-max), 100%);
  margin: 0 auto;
  padding: 26px clamp(22px, 4vw, 48px) 96px;
}
.policy-page .policy-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.policy-page .brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--legal-ink);
  text-decoration: none;
}
.policy-page .brand-mark {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
}
.policy-page .brand-name {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.035em;
}
.policy-page .brand-name > span {
  color: var(--legal-muted);
  font-weight: 500;
}
.policy-page .policy-back {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--legal-muted);
  font-size: 13px;
  font-weight: 600;
}
.policy-page .policy-back::before {
  content: "←";
  display: inline-block;
  margin-right: 8px;
  transition: transform .16s ease;
}
.policy-page .policy-back:hover {
  color: var(--legal-ink);
}
.policy-page .policy-back:hover::before {
  transform: translateX(-2px);
}
.policy-page .policy-content {
  margin-top: clamp(76px, 9vw, 124px);
}
.policy-page .policy-content > h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(52px, 7vw, 86px);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 500;
}
.policy-page .policy-intro {
  max-width: 720px !important;
  margin: 22px 0 0 !important;
  color: var(--legal-text) !important;
  font-size: clamp(16px, 1.4vw, 18px) !important;
  line-height: 1.72 !important;
}
.policy-page .policy-effective {
  margin: 14px 0 0 !important;
  color: var(--legal-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.policy-page .policy-effective strong {
  color: var(--legal-ink);
  font-weight: 600;
}
.policy-page .policy-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: clamp(46px, 7vw, 90px);
  align-items: start;
  justify-content: space-between;
  margin-top: clamp(64px, 8vw, 96px);
}
.policy-page .policy-toc {
  position: sticky;
  top: 32px;
  align-self: start;
  max-height: calc(100vh - 64px);
  overflow: auto;
  padding-right: 8px;
  scrollbar-width: thin;
}
.policy-page .policy-toc__label {
  margin: 0 0 14px;
  color: var(--legal-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}
.policy-page .policy-toc ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.policy-page .policy-toc a {
  display: block;
  padding: 5px 0;
  color: var(--legal-muted);
  font-size: 12px;
  line-height: 1.45;
  transition: color .14s ease;
}
.policy-page .policy-toc a:hover,
.policy-page .policy-toc a:focus-visible {
  color: var(--legal-ink);
}
.policy-page .policy-sections {
  display: block;
  margin: 0;
}
.policy-page .policy-sections section {
  scroll-margin-top: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.policy-page .policy-sections section + section {
  margin-top: 52px;
}
.policy-page .policy-sections h2 {
  margin: 0;
  color: var(--legal-ink);
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: -.025em;
  font-weight: 600;
}
.policy-page .policy-sections p,
.policy-page .policy-sections li {
  color: var(--legal-text);
  font-size: 15px;
  line-height: 1.78;
}
.policy-page .policy-sections p {
  margin: 14px 0 0;
}
.policy-page .policy-sections p + p {
  margin-top: 12px;
}
.policy-page .policy-sections ul,
.policy-page .policy-list {
  margin: 16px 0 0;
  padding-left: 20px;
}
.policy-page .policy-sections li + li,
.policy-page .policy-list li + li {
  margin-top: 8px;
}
.policy-page .policy-contact {
  color: var(--legal-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.policy-page .policy-footer-note {
  max-width: 760px;
  margin: 70px 0 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--legal-muted) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}
.policy-page .contact-primary {
  display: inline-block;
  margin-top: 28px;
  color: var(--legal-ink);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

@media (max-width: 900px) {
  .policy-page .policy-shell {
    padding-bottom: 72px;
  }
  .policy-page .policy-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .policy-page .policy-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  .policy-page .policy-toc ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 22px;
  }
  .policy-page .policy-footer-note {
    margin-left: 0 !important;
  }
}

@media (max-width: 600px) {
  .policy-page .policy-toc { display: none; }
  .policy-page .policy-shell {
    padding: 18px 20px 60px;
  }
  .policy-page .policy-content {
    margin-top: 58px;
  }
  .policy-page .policy-content > h1 {
    font-size: clamp(44px, 14vw, 64px);
  }
  .policy-page .policy-layout {
    margin-top: 52px;
  }
  .policy-page .policy-toc ul {
    grid-template-columns: 1fr;
  }
  .policy-page .policy-sections section + section {
    margin-top: 44px;
  }
  .policy-page .policy-sections h2 {
    font-size: 19px;
  }
  .policy-page .policy-sections p,
  .policy-page .policy-sections li {
    font-size: 14.5px;
    line-height: 1.76;
  }
}
