/* Styles for https://cultureand.tech/culture/mac-get-space/privacy.html, rendered by scripts/build-privacy-page.py.
   The layout follows the Thai app's legal/styles.css; colours are Mac Get Space's (.superdesign/design-system.md).
   System fonts only: the page must not load fonts, scripts or anything else from other hosts (policy section 7). */
:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: #18324d; background: #f3f8ff; line-height: 1.8; }
* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
:lang(ko) { word-break: keep-all; }
a { color: #1479c9; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #81c7ff; outline-offset: 4px; border-radius: 3px; }
.site-header, main, .site-footer { width: min(880px, calc(100% - 40px)); margin-inline: auto; }
.site-header { padding: 26px 0 18px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.brand { font-weight: 750; }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
main { padding: 44px 48px; background: #fff; border: 1px solid #d7e6f5; border-radius: 20px; }
article + article { margin-top: 64px; padding-top: 44px; border-top: 1px solid #d7e6f5; }
.document-header { padding-bottom: 28px; margin-bottom: 30px; border-bottom: 3px solid #1479c9; }
h1 { font-size: clamp(26px, 5vw, 36px); line-height: 1.35; letter-spacing: -.03em; margin: 0 0 14px; }
h2 { font-size: 20px; line-height: 1.5; letter-spacing: -.02em; margin: 0 0 14px; }
p { margin: 0 0 14px; }
section { margin: 30px 0 0; }
.date { color: #5b7290; font-size: 14px; }
.lead { color: #4a5d75; font-size: 17px; }
ul, ol { padding-left: 24px; margin: 12px 0; }
li + li { margin-top: 12px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.table-wrap { margin: 18px 0; }
table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 14px; }
th, td { padding: 14px 12px; border: 1px solid #d7e6f5; text-align: left; vertical-align: top; }
th { background: #f3f8ff; font-weight: 650; }
.site-footer { padding: 26px 0 40px; font-size: 13px; color: #5b7290; }
.draft { background: #fff3dc; border: 1px solid #e9c77c; border-radius: 10px; padding: 15px 18px; margin-bottom: 30px; font-size: 14px; color: #674516; }
.draft ul { margin: 8px 0 0; padding-left: 20px; }
.draft li + li { margin-top: 6px; }
.pending { color: #8e4200; background: #fff1dd; font-weight: 650; }
.approval { display: inline-block; margin-left: 10px; padding: 1px 10px; border-radius: 999px; background: #e6f6ec; color: #1f8a4c; font-size: 12px; font-weight: 650; letter-spacing: 0; line-height: 1.8; vertical-align: middle; }
.approval.changed { background: #fff1dd; color: #8e4200; }
.skip-link { position: absolute; top: -80px; left: 16px; padding: 8px 16px; background: white; z-index: 2; }
.skip-link:focus { top: 8px; }
@media (max-width: 600px) {
  .site-header, main, .site-footer { width: min(100% - 28px, 880px); }
  .site-header { padding-top: 18px; gap: 8px; }
  .site-header nav { gap: 14px; font-size: 13px; }
  main { padding: 26px 20px; border-radius: 14px; }
  .lead { font-size: 16px; }
  table, tbody, tr, th, td { display: block; width: 100%; }
  thead { display: none; }
  tr { margin-bottom: 16px; border: 1px solid #d7e6f5; border-radius: 8px; overflow: hidden; }
  td, th { border: 0; border-top: 1px solid #e3edf7; padding: 12px; }
  tr > :first-child { border-top: 0; }
  td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: #5b7290; margin-bottom: 4px; }
}
@media print {
  :root { background: white; color: black; }
  .site-header, .site-footer, .skip-link { display: none; }
  main { width: 100%; border: 0; padding: 0; }
  h2 { break-after: avoid; }
  tr { break-inside: avoid; }
}
