/* Look of the document pages (terms, privacy): dark, like the app and stalve.com */
:root {
  color-scheme: dark;
  --bg: #000000;
  --card: #1c1c1e;
  --text: #f5f5f7;
  --text-2: rgba(235, 235, 245, 0.62);
  --line: rgba(235, 235, 245, 0.12);
  --accent: #0a84ff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Inter, Roboto, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 20px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.brand i { font-style: normal; font-weight: 500; color: var(--text-2); }
.top nav { display: flex; gap: 16px; font-size: 14px; }
.top nav a { color: var(--text-2); }
.top nav a[aria-current='page'] { color: var(--text); }

main { max-width: 760px; margin: 0 auto; padding: 24px 20px 40px; }
h1 { margin: 16px 0 4px; font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.meta { margin: 0 0 24px; color: var(--text-2); font-size: 14px; }
section { margin-top: 12px; padding: 20px 24px; background: var(--card); border-radius: 16px; }
h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 8px 0 0; }
ul { margin: 8px 0 0; padding-left: 20px; }
li + li { margin-top: 4px; }
.contacts dl { margin: 8px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.contacts dt { color: var(--text-2); }
.contacts dd { margin: 0; }
.foot { max-width: 760px; margin: 0 auto; padding: 0 20px 40px; color: var(--text-2); font-size: 13px; }

@media (max-width: 560px) {
  /* On a phone the header keeps only the link to the other document */
  .top nav a[aria-current='page'],
  .top nav a[href='#contacts'] { display: none; }
  h1 { font-size: 28px; }
  section { padding: 16px 18px; }
  .contacts dl { grid-template-columns: 1fr; gap: 2px; }
  .contacts dd + dt { margin-top: 8px; }
}
