:root {
  color-scheme: dark;
  --bg: #080a0f;
  --surface: #11151d;
  --surface-soft: #171c26;
  --border: #293140;
  --text: #f4f7fb;
  --muted: #a4afbe;
  --subtle: #788598;
  --accent: #a3b6fa;
  --accent-soft: rgba(122, 147, 245, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 80% 0, rgba(66, 99, 235, .12), transparent 32rem), var(--bg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid rgba(167, 139, 250, .48); outline-offset: 3px; border-radius: 4px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 960px) / 2));
  background: rgba(8, 10, 15, .88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, #a3b6fa, #2b45c4); border-radius: 11px; }
.brand-mark svg { width: 18px; height: 18px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { min-height: 45px; display: inline-flex; align-items: center; padding: 0 13px; color: var(--muted); border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-soft); }
.document { width: min(100% - 40px, 820px); margin: 0 auto; padding: 72px 0 96px; }
.document-head { padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 56px); line-height: 1.12; letter-spacing: -.045em; }
.lead { max-width: 680px; margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--subtle); font-size: 13px; }
.toc { margin: 32px 0 48px; padding: 22px 24px; background: var(--accent-soft); border: 1px solid rgba(167, 139, 250, .2); border-radius: 16px; }
.toc strong { display: block; margin-bottom: 9px; }
.toc ol { columns: 2; gap: 36px; margin: 0; padding-left: 20px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); text-decoration: underline; }
.policy-section { scroll-margin-top: 96px; padding: 30px 0; border-bottom: 1px solid var(--border); }
.policy-section h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.35; letter-spacing: -.025em; }
.policy-section p, .policy-section ul { margin: 10px 0 0; color: #c4ccd7; }
.policy-section ul { padding-left: 22px; }
.policy-section li + li { margin-top: 7px; }
.policy-section a, .contact-card a { color: #c4b5fd; text-underline-offset: 3px; }
.contact-card { margin-top: 32px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.contact-card strong, .contact-card span { display: block; }
.contact-card span { margin-top: 5px; color: var(--muted); }
.site-footer { width: min(100% - 40px, 820px); margin: 0 auto; padding: 28px 0 40px; color: var(--subtle); border-top: 1px solid var(--border); font-size: 13px; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.document-card { min-height: 210px; display: flex; flex-direction: column; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.document-card:hover { transform: translateY(-2px); border-color: rgba(167, 139, 250, .5); }
.document-card h2 { margin: 20px 0 6px; font-size: 22px; }
.document-card p { margin: 0; color: var(--muted); }
.document-card span { margin-top: auto; padding-top: 20px; color: var(--accent); font-weight: 750; }

@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 8px; padding: 16px 20px; }
  .site-nav { width: 100%; }
  .site-nav a { flex: 1; justify-content: center; padding: 0 8px; font-size: 12px; }
  .document { padding-top: 48px; }
  .toc ol { columns: 1; }
  .home-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
