/* Shared paper, ink and reading rhythm for the public service pages. */
:root {
  --reading-paper: #f8f5ee;
  --reading-ink: #253b35;
  --reading-rule: #d3cfc1;
  --reading-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
}
.deletion-page, .link-page, .privacy-page, .not-found-page {
  background: var(--reading-paper);
  color: var(--reading-ink);
}
.reading-header, .privacy-page .nav-row, .install-page .simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  border-bottom: 1px solid var(--reading-rule);
  padding-block: 16px;
}
.reading-header { width: min(calc(100% - 40px), 760px); margin-inline: auto; }
.reading-brand, .privacy-page .brand, .install-page .brand {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  color: inherit; text-decoration: none; font: 600 23px/1.3 var(--reading-serif);
}
.reading-brand img, .privacy-page .brand-logo, .install-page .brand-logo {
  width: 32px; height: 32px; border-radius: 8px;
}
.reading-brand span { font: 400 13px/1.4 system-ui,sans-serif; color: #56625c; margin: 0; }
.install-page .download-intro h1, .deletion-page h1, .privacy-page h1, .link-page h1, .not-found-page h1 {
  font: 500 clamp(30px,5vw,54px)/1.22 var(--reading-serif); letter-spacing: -.025em;
  margin: 0 0 16px; text-wrap: balance;
}
.install-page .download-intro h1 { color: var(--ink); }
.privacy-page .privacy-heading, .deletion-page main, .link-page main { padding-top: clamp(28px,5vw,68px); }
.deletion-page main, .privacy-page .privacy-main { max-width: 800px; }
.deletion-page main > nav { margin-bottom: 26px; gap: 8px 18px; font-size: 14px; }
.deletion-page h2, .link-page h2, .privacy-page .privacy-paper h2 { font-family: var(--reading-serif); font-weight: 600; }
.deletion-page main section { scroll-margin-top: 16px; }
.link-page main { min-height: 60svh; }
.link-page .button, .deletion-page .request { background: #264a40; color: #fff; border-radius: 6px; }
.privacy-page .privacy-paper { border: 0; border-top: 1px solid var(--reading-rule); background: transparent; box-shadow: none; padding: 26px 0; }
.privacy-page .privacy-toc { background: #f0eee4; border: 0; border-inline-start: 2px solid #a49a7d; }
.link-page footer, .deletion-page footer { border-top: 1px solid var(--reading-rule); padding-block: 20px 32px; }
@media(max-width:600px) {
  .privacy-page .nav-row, .install-page .simple-header { flex-wrap: wrap; min-height: 0; gap: 10px 18px; padding-block: 12px; }
  .privacy-page nav, .install-page .simple-header nav { gap: 4px 16px; max-width: 100%; }
  .privacy-page nav a, .install-page nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .install-page .download-section { padding-block: 30px 44px; }
  .install-page .platform-downloads { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
  .install-page .download-card { padding: 18px; min-width: 0; }
  .install-page .download-card > p { line-height: 1.65; overflow-wrap: anywhere; }
  .privacy-page .privacy-main, .deletion-page main { width: min(calc(100% - 40px),800px); margin-inline: auto; }
  .deletion-page main { padding-inline: 0; }
  .deletion-page p, .deletion-page li, .privacy-page .privacy-paper p { font-size: 16px; line-height: 1.8; }
  .link-page main, .not-found-page main { overflow-wrap: anywhere; }
}
.install-page .google-play-status { grid-column: 1 / -1; font-size: 14px; color: var(--muted); margin: 0; padding-block: 6px; }

.registration-links {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 100%;
  align-items: center;
  gap: 0 1.25rem;
  font-size: .8125rem;
  line-height: 1.5;
}
.registration-links a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 32px;
  color: inherit;
}
.registration-links img { width: 16px; height: 16px; }
.not-found-page footer { padding-block: 1rem 2rem; }

.not-found-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.not-found-page main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}
