/* Shared reading layout for Privacy, Terms, and AI processing. */
:root {
  color-scheme: light;
  --text: #202623;
  --muted: #59635d;
  --link: #285b43;
  --line: #dce2dd;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 2px; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 10px 16px; background: #fff; z-index: 2; }
.skip-link:focus { top: 8px; }
.site-header {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--text); font-size: 21px; font-weight: 650; text-decoration: none; }
.brand img { display: block; }
.legal-navigation { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.legal-navigation a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.legal-navigation a:hover, .legal-navigation a[aria-current="page"] { text-decoration: underline; }
.legal-navigation a[aria-current="page"] { font-weight: 650; }
.legal-document { width: min(100%, 764px); margin: 0 auto; padding: 56px 32px max(48px, env(safe-area-inset-bottom)); }
h1, h2, h3 { color: var(--text); font-weight: 650; line-height: 1.3; }
h1 { margin: 0 0 12px; font-size: 36px; letter-spacing: -.025em; }
h2 { margin: 0 0 18px; font-size: 24px; letter-spacing: -.015em; }
h3 { margin: 0 0 8px; font-size: 18px; }
p { margin: 0 0 18px; overflow-wrap: anywhere; }
.updated { margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.summary { margin: 32px 0; }
.summary h2, .contents h2 { font-size: 18px; margin-bottom: 10px; letter-spacing: 0; }
.contents { padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contents ol { margin: 0; padding-left: 24px; }
.contents li { padding: 3px 0; }
.document-section { margin-top: 44px; }
.subsection + .subsection { margin-top: 26px; }
.subsection p:last-child { margin-bottom: 0; }
ul { margin: 0; padding-left: 24px; }
li { padding-left: 2px; overflow-wrap: anywhere; }
li + li { margin-top: 7px; }
.document-footer { margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.document-footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 600px) {
  .site-header { padding: 14px 24px; gap: 2px; flex-direction: column; align-items: flex-start; }
  .legal-navigation { gap: 8px 24px; }
  .legal-document { padding: 32px 24px max(40px, env(safe-area-inset-bottom)); }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  .document-section { margin-top: 36px; }
}
@media print {
  body { color: #000; font-size: 11pt; }
  .site-header, .skip-link, .contents, .document-footer { display: none; }
  .legal-document { width: 100%; padding: 0; }
  h1 { font-size: 24pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 12pt; }
  h1, h2, h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  a { color: inherit; }
}

/* Support uses the same document layout, with a compact email action. */
.support-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 32px; }
.support-contact > a { overflow-wrap: anywhere; }
.copy-email {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--link);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  min-height: 44px;
  min-width: 100px;
  padding: 10px 14px;
  cursor: pointer;
}
.copy-email:hover { background: #f3f6f3; border-color: var(--link); }
.copy-email:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.document-section ul + p, .subsection ol + p { margin-top: 18px; }
@media print { .copy-email { display: none; } }
