/* Privacy and Support */

[id] {
  scroll-margin-top: 80px;
}

.page-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid #e5e5ea;
  background: rgb(255 255 255 / .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.page-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
}

.page-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.page-brand img {
  border-radius: 7px;
}

.page-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.page-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.page-links a:hover,
.page-links a[aria-current="page"] {
  color: var(--ink);
}

.page-hero {
  padding-block: clamp(64px, 9vw, 120px) clamp(40px, 5vw, 64px);
}

.page-hero h1 {
  max-width: 12em;
  margin: 0;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.04;
  letter-spacing: -.03em;
  white-space: normal;
  text-wrap: balance;
}

.page-hero .lead {
  max-width: 620px;
}

.page-updated {
  margin: 20px 0 0;
  font-size: 14px;
  color: #86868b;
}

/* At a glance */

.glance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  margin: 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: clamp(24px, 3vw, 32px);
  background: #f4f4f4;
  list-style: none;
}

.glance li {
  display: flex;
  gap: 14px;
}

.glance svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.glance strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.glance span {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

/* Document sections */

.doc {
  padding-block: clamp(24px, 3vw, 40px) clamp(40px, 5vw, 64px);
}

.doc-section {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 16px clamp(32px, 5vw, 80px);
  padding-block: clamp(32px, 4vw, 48px);
  border-top: 1px solid #e5e5ea;
}

.doc-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.doc-body {
  font-size: 17px;
  line-height: 1.6;
  color: #424245;
  text-wrap: pretty;
}

.doc-body p,
.doc-body ul {
  margin: 0 0 14px;
}

.doc-body > :last-child {
  margin-bottom: 0;
}

.doc-body ul {
  padding-left: 20px;
}

.doc-body li + li {
  margin-top: 8px;
}

.doc-body strong {
  font-weight: 600;
  color: var(--ink);
}

.doc-body a {
  color: var(--brand);
  text-underline-offset: 3px;
}

/* Support */

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.topics a {
  padding: 10px 18px;
  border-radius: 999px;
  background: #f4f4f4;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s;
}

.topics a:hover {
  background: #e8e8ed;
}

.faq {
  margin: 0;
  padding: 0;
  border-radius: 24px;
  background: #f4f4f4;
  list-style: none;
}

.faq li + li {
  margin: 0;
  border-top: 1px solid #e3e3e8;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid #86868b;
  border-bottom: 2px solid #86868b;
  transform: rotate(45deg);
  transition: transform .3s var(--ease-out), margin .3s var(--ease-out);
}

.faq details[open] summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.faq summary:focus-visible {
  border-radius: 16px;
  outline-offset: -3px;
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 16px;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer > :last-child {
  margin-bottom: 0;
}

.doc-body .contact-button {
  display: inline-block;
  max-width: 100%;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color .2s, transform .2s var(--ease-out);
}

.doc-body .contact-button:hover {
  background: #000;
  transform: scale(1.02);
}

.about-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 48px);
  border-radius: clamp(24px, 3vw, 32px);
  background: #f4f4f4;
  text-align: center;
}

.about-panel img {
  border-radius: 22.5%;
  box-shadow: 0 14px 32px -12px rgb(158 97 56 / .5);
}

.about-panel h2 {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -.02em;
}

.about-panel p {
  max-width: 460px;
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}

.about-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.about-specs li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 860px) {
  .doc-section {
    grid-template-columns: 1fr;
  }

  .glance {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 480px) {
  .faq summary {
    padding: 18px 20px;
  }

  .faq-answer {
    padding: 0 20px 20px;
  }
}
