/* The terms pages opened without signing in (https://talk.policylens.kr/app/legal/<name>.html, also the
   store listing's privacy address). The .legal rules between the markers are the same as in the app's
   styles.css (documents shown inside the app); tests/terms.test.ts keeps the two equal. */
:root {
  --blue: #2f4fe0;
  --ink: #191c22;
  --sub: #646b78;
  --line: #e6e8ec;
  --bg: #ffffff;
  --soft: #f3f4f7;
  --gutter: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  letter-spacing: -0.2px;
}
body > .legal { max-width: 720px; margin: 0 auto; padding-top: 24px; }

/* legal:begin (the same rules are in legal/legal.css, the page opened without signing in: tests/terms.test.ts keeps the two equal) */
.legal { padding: 8px var(--gutter) calc(32px + var(--safe-b)); font-size: 16px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; word-break: keep-all; }
.legal h1 { font-size: 24px; font-weight: 800; line-height: 1.35; letter-spacing: -0.6px; margin: 0 0 8px; }
.legal .meta { font-size: 14px; line-height: 1.5; color: var(--sub); margin: 0 0 24px; }
.legal h2 { font-size: 18px; font-weight: 800; line-height: 1.4; letter-spacing: -0.3px; margin: 32px 0 8px; }
.legal h3 { font-size: 16px; font-weight: 700; line-height: 1.5; margin: 20px 0 4px; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 12px; padding-left: 20px; }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; line-height: 1.5; }
.legal th, .legal td { min-width: 64px; padding: 8px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--soft); font-weight: 700; }
.legal pre { margin: 0 0 16px; font: inherit; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
/* legal:end */
