/* Shared shell for Notes, Privacy, Support, and other supporting pages. */
body {
  color: #111311;
  background: #ffffff;
  letter-spacing: -0.01em;
}

body .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: none;
  min-height: 68px;
  margin: 0;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #d9dcda;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

body .brand {
  gap: 10px;
  font-size: 16px;
  text-decoration: none;
}

body .brand-trail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  white-space: nowrap;
}

body .brand-path {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

body .brand-path a {
  color: #626863;
  font-weight: 700;
  text-decoration: none;
}

body .brand-path a:hover,
body .brand-path a:focus-visible,
body .brand-path [aria-current="page"] {
  color: #111311;
}

body .brand-path [aria-current="page"] {
  font-weight: 820;
}

body .brand-separator {
  color: #9da39e;
  font-weight: 500;
}

body .header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #111311;
  border-radius: 10px;
  color: #ffffff;
  background: #111311;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

body .header-action:hover,
body .header-action:focus-visible {
  background: #303330;
}
body .brand img,
body .brand-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

body .nav {
  gap: 18px;
  color: #626863;
  font-size: 13px;
}

body .nav a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

body .nav a:hover,
body .nav a:focus-visible,
body .nav a[aria-current="page"] {
  color: #111311;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

body > main {
  width: min(980px, calc(100% - 44px));
  margin-inline: auto;
}

body > main .section.page {
  padding-inline: 0;
}

body .page h1,
body > main h1 {
  max-width: 840px;
  font-size: clamp(42px, 6vw, 66px);
  letter-spacing: -0.05em;
  line-height: 1;
}

body .support-grid article,
body .product-notes-group,
body .note-preview,
body .page article {
  border-color: #d9dcda;
  border-radius: 16px;
  background: #f7f7f6;
}

body .contact {
  border-top-color: #d9dcda;
}

body .site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  min-height: 68px;
  margin: 0;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-top: 1px solid #d9dcda;
  color: #626863;
  background: #ffffff;
  gap: 6px 18px;
  font-size: 13px;
}

body .site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: #111311;
  font-size: 16px;
  font-weight: 820;
  white-space: nowrap;
}

body .site-footer .footer-brand::before {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: url("/assets/first-step.svg?v=1") center / contain no-repeat;
  content: "";
}

body .site-footer a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

body .site-footer a:hover,
body .site-footer a:focus-visible,
body .site-footer a[aria-current="page"] {
  color: #111311;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
body .site-footer .heart,
body .heart {
  color: #df1f2d;
}

body #comet-effect-root {
  display: none;
}

@media (max-width: 760px) {
  body .header-action {
    display: none;
  }

  body .brand-trail {
    width: 100%;
    margin-right: 0;
  }

  body .brand-path {
    flex-wrap: wrap;
    white-space: normal;
  }
}
@media (max-width: 760px) {
  body .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding-block: 12px;
  }

  body .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 4px 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  body .nav a {
    flex: 0 0 auto;
  }

  body > main {
    width: min(980px, calc(100% - 30px));
  }

body .site-footer {
    min-height: auto;
    padding-block: 14px;
  }

  body .site-footer .footer-brand {
    flex-basis: 100%;
    margin-right: 0;
  }
}

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