@font-face {
  font-family: 'Manrope Variable';
  src: url('/fonts/manrope/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  /* 앱 입체형 토큰(dev.devhw.fitnum docs/design/2026-11-05-tokens.md)과 같은 값 */
  --bg: #eef3f1;
  --bg-grad: linear-gradient(180deg, #ffffff 0%, #eef3f1 42%, #e6ece9 100%);
  --surface: #ffffff;
  --card: linear-gradient(180deg, #ffffff, #f8faf9);
  --raised: linear-gradient(180deg, #ffffff, #edf2f0);
  --well: #eef2f0;
  --glass: rgba(255, 255, 255, .82);
  --glass-edge: rgba(255, 255, 255, 1);
  --soft: #e3f6ee;
  --text: #111814;
  --muted: #5b6661;
  --line: rgba(17, 24, 20, .09);
  --accent: #0b7f59;
  --accent-grad: linear-gradient(135deg, #6be7b9, #22be86);
  --hero-grad: linear-gradient(150deg, #8af0c8, #3dd69f 55%, #17b57f);
  --on-accent: #032318;
  --button: #22be86;
  --button-text: #032318;
  --shadow: 0 12px 28px rgba(17, 24, 20, .09), 0 1px 2px rgba(17, 24, 20, .06), inset 0 1px 0 #ffffff;
  --shadow-small: 0 3px 8px rgba(17, 24, 20, .10), inset 0 1px 0 #ffffff;
  --glow: 0 12px 26px rgba(16, 168, 119, .35), inset 0 1px 0 rgba(255, 255, 255, .55);
  --well-shadow: inset 0 2px 5px rgba(17, 24, 20, .10);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b0d0c;
  --bg-grad: linear-gradient(180deg, #16201c 0%, #0b0d0c 42%, #070808 100%);
  --surface: #1e2322;
  --card: linear-gradient(180deg, #1e2322, #151817);
  --raised: linear-gradient(180deg, #2e3432, #202423);
  --well: #0f1211;
  --glass: rgba(30, 34, 33, .78);
  --glass-edge: rgba(255, 255, 255, .07);
  --soft: #1d4a3a;
  --text: #f4f6f5;
  --muted: #a3aca8;
  --line: rgba(255, 255, 255, .08);
  --accent: #7af5c6;
  --accent-grad: linear-gradient(135deg, #7af5c6, #2ccb90);
  --hero-grad: linear-gradient(150deg, #7af5c6, #3ddc9f 55%, #1fb582);
  --on-accent: #032318;
  --button: #2ccb90;
  --button-text: #032318;
  --shadow: 0 14px 30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .07);
  --shadow-small: 0 4px 10px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
  --glow: 0 12px 26px rgba(61, 220, 159, .30), inset 0 1px 0 rgba(255, 255, 255, .4);
  --well-shadow: inset 0 2px 6px rgba(0, 0, 0, .6);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  font-family: 'Pretendard JP Variable', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg) var(--bg-grad) no-repeat;
  background-size: 100% 100%;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
html[lang='ko'] { word-break: keep-all; }
/* 번체 중국어는 일본어 글꼴(Pretendard JP)의 자형 대신 기기의 번체 글꼴을 씁니다. */
html[lang='zh-Hant'] body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, [tabindex='0']:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.logo-dark, .sun-icon { display: none; }
[data-theme='dark'] .logo-light, [data-theme='dark'] .moon-icon { display: none; }
[data-theme='dark'] .logo-dark, [data-theme='dark'] .sun-icon { display: block; }
.theme-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: var(--raised);
  box-shadow: var(--shadow-small);
  flex-shrink: 0;
}
.theme-button svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.brand, .brand img { display: block; }
.brand img { object-fit: contain; }
.brand .logo-dark { display: none; }
[data-theme='dark'] .brand .logo-dark { display: block; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; border-radius: 20px; background: var(--button); color: var(--button-text); }
.skip-link:focus { top: 12px; }

/* Policy content remains unchanged; its typography and surfaces share the app concept. */
.privacy-page { background: var(--bg); color: var(--text); font-family: 'Pretendard JP Variable', sans-serif; }
.privacy-page main { max-width: 900px; padding: 20px 28px 70px; }
.privacy-page .site-nav { padding: 14px 20px; border: 1px solid var(--glass-edge); border-radius: 999px; background: var(--glass); backdrop-filter: blur(18px); gap: 20px; top: 16px; }
.privacy-page .site-nav .brand picture img { width: 110px; height: auto; }
.privacy-page .site-nav .brand picture .logo-dark { display: none; }
[data-theme='dark'] .privacy-page .site-nav .brand picture .logo-light { display: none; }
[data-theme='dark'] .privacy-page .site-nav .brand picture .logo-dark { display: block; }
.privacy-page .site-nav .language-control { margin-left: auto; }
.privacy-page article > h1 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -1.6px; margin-top: 48px; }
.privacy-page .summary, .privacy-page .toc { border: 1px solid var(--glass-edge); background: var(--glass); border-radius: 28px; box-shadow: var(--shadow); }
.privacy-page .summary { background: var(--soft); }
.privacy-page article > section { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-top: 32px; }
.privacy-page a { color: var(--accent); }
.privacy-page footer { padding-top: 24px; }
@media (max-width: 600px) {
  .privacy-page main { padding-inline: 16px; }
  .privacy-page .site-nav { gap: 10px; padding: 10px 12px; border-radius: 28px; }
  .privacy-page .site-nav .brand picture img { width: 92px; }
  .privacy-page .site-nav .home { display: none; }
  .privacy-page .site-nav .language-control select { max-width: 113px; padding-left: 10px; }
  .privacy-page .site-nav .theme-button { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print {
  .privacy-page {
    --bg: #fff; --surface: #fff; --soft: #f3f5f4;
    --text: #111; --muted: #444; --line: #ddd; --accent: #17553d;
    background: #fff; color: #111;
  }
  .privacy-page .summary, .privacy-page article > section { box-shadow: none; }
  .privacy-page article > section { border: 0; }
}
