/* Shared policy presentation. Edit policy copy in landing/policies/*.html. */
:root {
  color-scheme: light dark;
  --ground: #f3f3f1;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #636363;
  --line: #dededb;
  --soft: #f6f6f4;
  --shadow: 0 16px 56px rgb(0 0 0 / .045), 0 1px 2px rgb(0 0 0 / .03);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 132px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 15px/1.9 "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 8px 16px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }
.legal-header { position: fixed; z-index: 20; inset: 0 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1080px; min-height: 74px; padding: 16px 28px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { flex-shrink: 0; font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 600; letter-spacing: -.045em; line-height: 1; text-decoration: none; }
.wordmark i { font-weight: 500; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.policy-nav a { font-size: 12px; line-height: 1.6; text-decoration: none; color: var(--muted); white-space: nowrap; }
.policy-nav a:hover, .policy-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.policy-nav a[aria-current="page"] { font-weight: 700; }
.legal-main { max-width: 760px; margin: 0 auto; padding: 128px 0 64px; }
.page-intro { margin: 0 0 28px; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .2em; }
h1 { margin: 0 0 14px; font-size: clamp(29px, 5vw, 42px); font-weight: 600; letter-spacing: -.055em; line-height: 1.3; }
.page-description { color: var(--muted); margin: 0; font-size: 15px; }
.draft-notice { border: 1px solid var(--line); border-left: 3px solid var(--ink); padding: 18px 22px; background: var(--paper); margin-top: 26px; font-size: 13px; }
.draft-notice strong { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .02em; }
.draft-notice p { margin: 0; color: var(--muted); }
.policy-paper { padding: 12px 42px 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow); }
.policy-paper section { padding: 29px 0 5px; }
.policy-paper section + section { border-top: 1px solid var(--line); margin-top: 22px; }
h2 { margin: 0 0 16px; font-size: 19px; font-weight: 600; letter-spacing: -.035em; line-height: 1.5; }
h3 { margin: 22px 0 6px; font-size: 15px; font-weight: 600; }
p { margin: 10px 0; }
ul, ol { margin: 12px 0; padding-left: 22px; }
li + li { margin-top: 9px; }
.contents { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; list-style: none; font-size: 13px; }
.contents a { color: var(--muted); }
.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 600; }
.facts dd { margin: 0; font-size: 14px; }
.placeholder { display: inline; color: var(--muted); border-bottom: 1px dashed var(--muted); font-size: .94em; }
.note { margin: 20px 0 0; padding: 16px 18px; background: var(--soft); color: var(--muted); font-size: 13px; }
.note strong { color: var(--ink); }
.legal-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 12px; }
.legal-footer a { text-decoration: none; }
.legal-footer a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 820px) {
  .legal-main { margin: 0 24px; }
  .header-inner { gap: 18px; }
  .policy-nav { gap: 8px 14px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 145px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 15px; padding: 18px 22px 16px; }
  .wordmark { font-size: 24px; }
  .policy-nav { flex-wrap: nowrap; width: 100%; overflow-x: auto; padding: 0 0 4px; gap: 19px; }
  .legal-main { padding-top: 149px; margin: 0 18px; }
  .policy-paper { padding: 6px 22px 28px; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .draft-notice { padding: 15px 18px; }
  body { font-size: 14px; }
  h2 { font-size: 18px; }
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #0e0e0e; --paper: #181818; --ink: #f1f1ef; --muted: #adadab; --line: #353535; --soft: #222222; --shadow: 0 16px 56px rgb(0 0 0 / .18); }
}
@media print {
  :root { --ground: #fff; --paper: #fff; --ink: #000; --muted: #333; --line: #ccc; --soft: #f5f5f5; }
  .legal-header, .legal-footer, .skip-link { display: none; }
  .legal-main { max-width: none; padding: 0; margin: 0; }
  .policy-paper { border: 0; box-shadow: none; padding: 0; }
  .policy-paper section { break-inside: avoid; }
}
