/* The privacy policy, terms and help pages: the Acknowledgements page's look (credits.css), with an at-a-glance grid of
   the homepage's card surface (landing.css .card) without its themes. */
:root {
  color-scheme: light dark;
  --paper: #ffffff;
  --ink: #000000;
  --muted: #6c6c70;
  --rule: rgba(0, 0, 0, .12);
  --accent: #0066cc;
  --card: #ffffff;
  --card-edge: rgba(0, 0, 0, .08);
  --card-shadow: 0 1px 4px rgba(20, 31, 61, .08), 0 16px 36px rgba(20, 31, 61, .12);
  --kicker: rgba(60, 60, 67, .6);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #000000; --ink: #f5f5f7; --muted: #a1a1a6; --rule: rgba(255, 255, 255, .14); --accent: #4da3ff;
    --card: #1c1c1e; --card-edge: rgba(255, 255, 255, .12); --card-shadow: 0 1px 4px rgba(0, 0, 0, .4), 0 16px 36px rgba(0, 0, 0, .45);
    --kicker: rgba(235, 235, 245, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  /* The page's edges; phones use the header's narrower 16 px, so the column still starts under "Reprise". */
  --page-top: 22px; --page-bottom: 48px; --page-side: 24px;
  /* A column at least the window's height, so the footer sits at the bottom of a short page. */
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; box-sizing: border-box;
  margin: 0; padding: calc(var(--page-top) + env(safe-area-inset-top)) max(var(--page-side), env(safe-area-inset-right)) var(--page-bottom) max(var(--page-side), env(safe-area-inset-left));
  background: var(--paper); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* The shared header (site-chrome.css) runs edge to edge above the page's column, out past the body's padding. */
.site-header { margin: calc(-1 * var(--page-top) - env(safe-area-inset-top)) calc(-1 * max(var(--page-side), env(safe-area-inset-right))) 22px calc(-1 * max(var(--page-side), env(safe-area-inset-left))); padding-top: env(safe-area-inset-top); }
/* The shared footer runs edge to edge under the page's column, out past the body's side and bottom padding. */
.site-footer { margin: 48px calc(-1 * max(var(--page-side), env(safe-area-inset-right))) calc(-1 * var(--page-bottom)) calc(-1 * max(var(--page-side), env(safe-area-inset-left))); }
/* The column starts under the header's "Reprise" (its 1180 px less 24 px padding each side); the text
   keeps a 680 px line. */
main { flex: 1 0 auto; width: 100%; max-width: 1132px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
main > * { max-width: 680px; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
/* Inside Reprise's Help pane the pane's navigation bar reaches the page as env(safe-area-inset-top),
   which is 0 in a browser, so padding and anchors add it. */
h1 { margin: 0; font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1.07; font-weight: 700; letter-spacing: -.022em; text-wrap: balance; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
/* Long compound words (Nutzungsbedingungen, Datenschutzerklärung) break with a hyphen in the page's language. */
h2, h3, .glance strong { -webkit-hyphens: auto; hyphens: auto; }
.updated { margin: -14px 0 0; color: var(--muted); font-size: 15px; }
.intro { margin: 0; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.45; color: var(--muted); text-wrap: pretty; }

.glance { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.glance li {
  border-radius: 20px; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px;
  background: var(--card); box-shadow: inset 0 0 0 .5px var(--card-edge), var(--card-shadow);
}
.kicker { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--kicker); }
.glance strong { margin-top: 4px; font-size: 19px; line-height: 1.2; letter-spacing: -.2px; }
.glance span { font-size: 15px; line-height: 1.4; color: var(--muted); }

section { padding-top: 26px; border-top: 1px solid var(--rule); scroll-margin-top: calc(16px + env(safe-area-inset-top)); }
h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
h2 .number { margin-right: 8px; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
p { margin: 0 0 10px; font-size: 17px; line-height: 1.5; }
.where { font-size: 14px; color: var(--muted); }
section ul, section ol { margin: 0 0 8px; padding-left: 22px; }
section li { margin-bottom: 6px; font-size: 17px; line-height: 1.5; }
h3 { margin: 24px 0 6px; font-size: 19px; line-height: 1.3; font-weight: 600; text-wrap: balance; scroll-margin-top: calc(16px + env(safe-area-inset-top)); }
h2 + h3 { margin-top: 12px; }

/* /help: the support card on the glance cards' surface, and topic links. */
.support {
  border-radius: 20px; padding: 18px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: var(--card); box-shadow: inset 0 0 0 .5px var(--card-edge), var(--card-shadow);
}
.support p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.support-button {
  max-width: 100%; padding: 12px 20px; border-radius: 999px; background: #0066d6; color: #ffffff;
  font-size: 17px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere;
}
.support-button:hover { filter: brightness(1.08); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics a { padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 15px; text-decoration: none; }
/* A translated policy says which version applies, under the date. */
.translation { margin: -18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

@media (max-width: 560px) {
  body { --page-top: 18px; }
  .glance { grid-template-columns: 1fr; gap: 12px; }
}

/* Press page: plain facts in rows under hairlines, no cards. */
.facts { margin: 4px 0 0; }
.facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-top: 1px solid var(--rule); }
.facts div:first-child { border-top: 0; padding-top: 4px; }
.facts dt { color: var(--muted); font-size: 15px; line-height: 1.5; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 480px) { .facts div { display: block; } .facts dd { margin-top: 2px; } }
.release-label { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.release-summary { color: var(--muted); font-style: italic; }
/* Press screenshots: small thumbnails in a row, each a download, with its size and format under it. */
.shots { display: flex; flex-wrap: wrap; gap: 18px 14px; margin: 4px 0 6px; }
.shots figure { margin: 0; }
.shots a { display: block; width: max-content; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--rule); }
.shots img { display: block; height: 170px; width: auto; }
.shots figcaption { margin-top: 7px; font-size: 12px; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
.shots figcaption strong, .shots figcaption span { display: block; }
.shots figcaption strong { color: var(--ink); font-size: 13px; font-weight: 600; }
.shots.bare a { border-radius: 0; box-shadow: none; overflow: visible; }
.shots.icons img { height: 96px; filter: drop-shadow(0 0 .5px rgba(0, 0, 0, .22)) drop-shadow(0 1px 3px rgba(0, 0, 0, .1)); }
@media (prefers-color-scheme: dark) { .shots.icons img { filter: none; } }
.zip { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 12px; margin: 4px 0 6px; color: inherit; text-decoration: none; }
.zip-icon { width: 64px; height: 64px; flex: none; }
.zip strong, .zip span span { display: block; }
.zip strong { font-size: 17px; font-weight: 600; color: var(--accent); }
.zip span span { margin-top: 2px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.zip:hover strong { text-decoration: underline; }

/* About page: the Stay in Touch links, as the app lists them: a small heading for whose they are, then
   one line per link with the service, its handle or address, and an arrow because it leaves the site. */
.follow-who { margin: 20px 0 8px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .02em; color: var(--muted); text-transform: none; }
.follow { list-style: none; margin: 0; padding: 0; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--card-edge), 0 1px 3px rgba(20, 31, 61, .06); overflow: hidden; }
/* Each row stands alone: none of the Help pages' list spacing (section li) between the hairlines. */
.follow li { margin: 0; font-size: 16px; line-height: 20px; }
.follow li + li { border-top: 1px solid var(--rule); margin-left: 16px; }
.follow li + li a { padding-left: 0; }
/* A tight line height, so the text sits in the middle of its row rather than above the page's tall leading. */
.follow a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 16px; box-sizing: border-box; line-height: 20px; color: inherit; text-decoration: none; }
.follow a:hover b { color: var(--accent); }
.follow b { flex: none; font-size: 16px; font-weight: 600; }
.follow small { flex: 1; min-width: 0; font-size: 15px; color: var(--muted); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.follow-out { flex: none; width: 14px; height: 14px; color: var(--muted); }

@media (max-width: 600px) {
  body { --page-side: 16px; }
}
