/* Privacy policy — shares tokens from landing.css */

html.privacy-page,
html.privacy-page body {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.privacy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
  min-height: 100svh;
  padding: 0 clamp(16px, 4vw, 24px);
}

.privacy__logo {
  position: absolute;
  top: var(--page-inset);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 13px;
  background: var(--page-surface);
  border: 1.5px solid var(--logo-stroke);
  color: #ffffff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    border-color var(--stroke-ease),
    color 0.3s ease;
}

html[data-page-theme="light"] .privacy__logo {
  color: #141414;
}

.privacy__logo:hover {
  border-color: var(--logo-stroke-hover);
}

.privacy__logo-mark {
  width: 14px;
  height: 21px;
  display: block;
}

.privacy__logo-mark path {
  fill: currentColor;
}

.privacy__main {
  width: 100%;
  max-width: 640px;
  padding-top: calc(var(--chrome-top) + 12px);
  padding-bottom: calc(var(--page-inset) + 4rem);
}

.privacy__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 28px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--page-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.privacy__back:hover {
  color: var(--page-text);
}

.privacy__title {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.privacy__updated {
  margin: 0 0 32px;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--fineprint-muted);
}

.privacy__intro {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--page-text-muted);
}

.privacy__section + .privacy__section {
  margin-top: 28px;
}

.privacy__heading {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.privacy__text,
.privacy__list {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--page-text-muted);
}

.privacy__list {
  padding-left: 1.25rem;
}

.privacy__list li + li {
  margin-top: 6px;
}

.privacy__text code,
.privacy__list code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.9em;
  font-weight: 400;
  color: var(--page-text);
  background: var(--page-surface);
  border: 1px solid var(--preview-border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
}

.privacy__link {
  color: var(--page-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.privacy__link:hover {
  color: var(--footer-name-hover);
}

.privacy .footer {
  position: relative;
  bottom: auto;
  margin-top: auto;
  padding-top: 24px;
  padding-bottom: calc(var(--page-inset) + 8px);
}

@media (max-width: 480px) {
  .privacy__main {
    padding-bottom: calc(var(--page-inset) + 3rem);
  }
}
