:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --fg: #16181d;
  --fg-2: #3d424c;
  --muted: #8a909b;
  --line: #e3e6eb;
  --line-strong: #16181d;
  --accent: #d2622f;
  --accent-soft: #fbeee7;
  --card: #ffffff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316;
    --bg-soft: #1a1c20;
    --fg: #eef0f3;
    --fg-2: #c3c8d0;
    --muted: #8a909b;
    --line: #2b2e34;
    --line-strong: #eef0f3;
    --accent: #f08a5b;
    --accent-soft: #2a1d17;
    --card: #17191c;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.03em; }
.logo i { font-style: normal; color: var(--accent); }
.site-nav a { text-decoration: none; color: var(--fg-2); font-size: 15px; margin-left: 24px; }
.site-nav a[aria-current] { color: var(--fg); font-weight: 700; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); font-size: 14px; margin-top: 96px; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer a { color: var(--fg-2); }

/* home */
.page-title .dot { color: var(--accent); }
body.home-page { display: flex; flex-direction: column; min-height: 100svh; overflow-x: hidden; }
body.home-page .site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
body.home-page .site-footer { margin-top: 0; background: transparent; border-top-color: transparent; }
body.home-page .site-footer .wrap { justify-content: center; }
.hero { position: relative; flex: 1; display: grid; place-items: center; isolation: isolate; text-align: center; padding: 48px 20px 64px; }
body.home-page::before {
  content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 35% at 30% 70%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(35% 30% at 72% 30%, color-mix(in srgb, #f2b84b 26%, transparent), transparent 70%),
    radial-gradient(45% 40% at 60% 85%, color-mix(in srgb, #e5799a 14%, transparent), transparent 70%);
  filter: blur(20px);
  animation: drift 18s ease-in-out infinite alternate;
}
.sun {
  position: absolute; z-index: -1; left: 50%; top: 50%;
  width: min(62vw, 440px); aspect-ratio: 1; border-radius: 50%;
  translate: -50% -38%;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, #ffd28a 85%, transparent), color-mix(in srgb, var(--accent) 55%, transparent) 62%, transparent 72%);
  opacity: .5; filter: blur(2px);
  animation: rise 2.4s cubic-bezier(.2,.7,.2,1) both, glow 6s 2.4s ease-in-out infinite alternate;
}
.hero-inner { max-width: 640px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .4em; color: var(--accent); margin: 0 0 18px; animation: up .9s .2s both; }
.hero h1 { font-size: clamp(56px, 13vw, 128px); line-height: 1; letter-spacing: -0.05em; margin: 0; animation: up 1s .35s both; }
.hero h1 .dot { color: var(--accent); }
.hero .tag { font-size: clamp(16px, 3.6vw, 24px); line-height: 1.6; color: var(--fg-2); margin: 22px 0 40px; text-wrap: balance; animation: up 1s .55s both; }
.soon-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px; border-radius: 999px;
  font-size: clamp(16px, 3.2vw, 19px); font-weight: 700; letter-spacing: -0.01em;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 10px 40px -12px color-mix(in srgb, var(--accent) 45%, transparent);
  backdrop-filter: blur(10px);
  margin: 44px 0 0;
  animation: up 1s .6s both;
}
.soon-badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); position: relative; }
.soon-badge i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 1.8s ease-out infinite; }
.rays {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: min(160vw, 1100px); aspect-ratio: 1;
  translate: -50% -46%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, #ffc56b 22%, transparent) 0deg 4deg, transparent 4deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%);
  opacity: 0; animation: fade 3s 1.2s ease both, spin 140s linear infinite;
}
.sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sparks i {
  position: absolute; width: 14px; height: 14px; background: #ffc56b;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: 0; animation: twinkle 4.8s ease-in-out infinite;
}
.sparks i:nth-child(1) { left: 22%; top: 28%; animation-delay: .6s; }
.sparks i:nth-child(2) { left: 74%; top: 22%; animation-delay: 1.4s; width: 10px; height: 10px; }
.sparks i:nth-child(3) { left: 81%; top: 58%; animation-delay: 2.3s; }
.sparks i:nth-child(4) { left: 15%; top: 64%; animation-delay: 3.1s; width: 9px; height: 9px; }
.sparks i:nth-child(5) { left: 36%; top: 16%; animation-delay: 3.9s; width: 8px; height: 8px; }
.sparks i:nth-child(6) { left: 63%; top: 74%; animation-delay: 1.9s; width: 11px; height: 11px; }
.sparks i:nth-child(7) { left: 88%; top: 36%; animation-delay: 4.4s; width: 8px; height: 8px; }
.sparks i:nth-child(8) { left: 9%; top: 40%; animation-delay: 2.7s; width: 12px; height: 12px; }
.sparks i:nth-child(9) { left: 46%; top: 82%; animation-delay: .2s; width: 9px; height: 9px; }
@keyframes fade { to { opacity: .7; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 60% { opacity: .9; transform: scale(.9) rotate(60deg); } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; translate: -50% 10%; } to { opacity: .5; translate: -50% -38%; } }
@keyframes glow { to { opacity: .68; scale: 1.05; } }
@keyframes drift { to { transform: translate3d(4%, -3%, 0) rotate(6deg); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rays { opacity: .5; }
  .sparks i { opacity: .8; }
  body.home-page::before, .sun, .rays, .sparks i, .eyebrow, .hero h1, .hero .tag, .soon-badge, .soon-badge i::after { animation: none; }
}

/* policy page head */
.crumb { text-align: right; font-size: 13px; color: var(--muted); padding-top: 20px; }
.crumb a { text-decoration: none; }
.page-title { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.04em; line-height: 1.2; margin: 48px 0 40px; padding-bottom: 28px; border-bottom: 2px solid var(--line-strong); }
.doc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.doc-head h2 { margin: 0; font-size: 22px; }
.version { border: 1px solid var(--line); border-radius: 8px; padding: 8px 36px 8px 14px; font: inherit; font-size: 13px; color: var(--fg-2); background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a909b' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; cursor: pointer; max-width: 100%; }
.old-notice { background: var(--accent-soft); color: var(--fg); border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; font-size: 14px; }
.old-notice a { color: var(--accent); font-weight: 700; }
table.history { min-width: 480px; }

.doc { border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 5vw, 48px); background: var(--card); }
.lead { font-weight: 700; margin: 0 0 12px; }
.doc p, .doc li { color: var(--fg-2); }
.doc p { margin: 8px 0; }

/* labeling cards */
.label-title { font-size: 18px; margin: 36px 0 14px; }
.labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.label { border: 1px solid var(--line); border-radius: 14px; padding: 20px 14px 18px; text-align: center; text-decoration: none; transition: border-color .15s, transform .15s; }
.label:hover { border-color: var(--accent); transform: translateY(-2px); }
.label svg { width: 44px; height: 44px; padding: 10px; box-sizing: content-box; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: block; margin: 0 auto 12px; }
.label strong { display: block; font-size: 15px; color: var(--fg); }
.label span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* toc */
.toc { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 12px 0 0; background: var(--bg-soft); }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; counter-reset: toc; }
.toc li { break-inside: avoid; padding: 5px 0; font-size: 14px; counter-increment: toc; }
.toc li::before { content: counter(toc) ". "; color: var(--muted); }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* sections */
.sec { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 40px; }
.sec h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; margin: 0 0 14px; color: var(--fg); }
.sec h3 .num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; display: grid; place-items: center; }
.sec h4 { font-size: 16px; margin: 24px 0 8px; color: var(--fg); }
.doc ul { padding-left: 1.2em; margin: 8px 0; }
.doc li { margin: 4px 0; }
.note { font-size: 14px; color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--fg-2); }
th { background: var(--bg-soft); color: var(--fg); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td + td, th + th { border-left: 1px solid var(--line); }

.contact { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; background: var(--bg-soft); margin: 12px 0; }
.contact dt { color: var(--muted); font-size: 14px; }
.contact dd { margin: 0; font-weight: 700; }
.contact a { color: var(--accent); }

@media (max-width: 720px) {
  .labels { grid-template-columns: repeat(2, 1fr); }
  .toc ol { columns: 1; }
  .site-nav a { margin-left: 16px; }
  .crumb { display: none; }
  .page-title { margin-top: 32px; }
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { display: block; border-radius: 8px; }
.hero h1, .logo { font-family: "Segoe UI", "SF Pro Display", -apple-system, system-ui, sans-serif; }
