:root {
  --bg: #07101f;
  --bg-soft: #0c1729;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: #111f35;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f9ff;
  --muted: #aeb9cd;
  --blue: #3569ff;
  --blue-2: #7aa2ff;
  --cyan: #72e3ff;
  --green: #6ee7b7;
  --warning: #ffd37a;
  --max: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(53, 105, 255, 0.18), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(114, 227, 255, 0.09), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-2); }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 9999;
  padding: 10px 14px;
  background: white;
  color: #07101f;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 860px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 31, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue), #6b8cff);
  box-shadow: 0 10px 30px rgba(53, 105, 255, 0.35);
  font-size: 18px;
  font-weight: 900;
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 15px; letter-spacing: -0.02em; }
.brand-copy span { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: 0.14em; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 10px 11px;
  border-radius: 10px;
  color: #d8deeb;
  font-size: 14px;
  font-weight: 650;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { background: var(--surface); color: white; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(122, 162, 255, 0.5);
  border-radius: 12px;
  color: white !important;
  background: rgba(53, 105, 255, 0.12);
  font-weight: 800 !important;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: white;
  cursor: pointer;
}

.hero { padding: 92px 0 70px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 54px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}
h1 .accent { color: var(--blue-2); }
.hero-lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: #c1cad9;
  font-size: clamp(17px, 2vw, 20px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.button:hover { transform: translateY(-2px); color: white; }
.button-primary { background: var(--blue); box-shadow: 0 16px 44px rgba(53, 105, 255, 0.28); }
.button-secondary { border-color: var(--line); background: var(--surface); }
.button-small { min-height: 42px; padding-inline: 15px; border-radius: 11px; font-size: 14px; }

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}
.hero-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53,105,255,0.38), transparent 65%);
}
.panel-label { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; font-weight: 800; }
.entity-title { margin: 10px 0 18px; font-size: 25px; letter-spacing: -0.035em; }
.entity-list { position: relative; z-index: 1; display: grid; gap: 10px; }
.entity-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(7,16,31,0.58);
}
.entity-row dt { color: var(--blue-2); font-size: 12px; font-weight: 800; }
.entity-row dd { margin: 0; color: #e6ebf5; font-size: 14px; font-weight: 650; }

.section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: rgba(255, 255, 255, 0.025); border-block: 1px solid rgba(255,255,255,0.06); }
.section-head { max-width: 780px; margin-bottom: 38px; }
.section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.section-head p { color: var(--muted); font-size: 17px; }
.kicker { margin-bottom: 10px; color: var(--blue-2); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
a.card { transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease; }
a.card:hover { transform: translateY(-4px); border-color: rgba(122,162,255,0.48); background: rgba(255,255,255,0.075); color: inherit; }
.card-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(53, 105, 255, 0.16);
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
}
.card h3 { margin-bottom: 10px; font-size: 21px; line-height: 1.3; letter-spacing: -0.03em; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.card-link { display: inline-flex; gap: 8px; margin-top: 18px; color: var(--blue-2); font-size: 14px; font-weight: 800; }

.definition {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  padding: 34px;
  border: 1px solid rgba(122,162,255,0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, rgba(53,105,255,0.13), rgba(255,255,255,0.03));
}
.definition h2 { margin-bottom: 8px; font-size: 30px; letter-spacing: -0.04em; }
.definition p { margin-bottom: 0; color: #d3dae7; font-size: 17px; }
.definition .label { color: var(--blue-2); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; }

.fact-list { display: grid; gap: 14px; }
.fact-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}
.fact-check {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.12);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}
.fact-item h3 { margin-bottom: 4px; font-size: 17px; }
.fact-item p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d7deeb;
  background: rgba(255,255,255,0.035);
  font-size: 13px;
  font-weight: 700;
}

.page-hero { padding: 76px 0 54px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.page-hero .breadcrumbs { margin-bottom: 26px; }
.page-hero h1 { max-width: 930px; font-size: clamp(40px, 5vw, 62px); }
.page-hero p { max-width: 820px; color: #c2cbd9; font-size: 19px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: #d7deeb; }
.breadcrumbs span[aria-hidden="true"] { color: #627087; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}
.sticky-aside { position: sticky; top: 110px; }
.sticky-aside h2 { font-size: 32px; line-height: 1.25; letter-spacing: -0.04em; }
.sticky-aside p { color: var(--muted); }

.prose { color: #d5dce8; }
.prose h2 { margin: 50px 0 16px; font-size: 32px; line-height: 1.25; letter-spacing: -0.04em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; font-size: 21px; letter-spacing: -0.025em; }
.prose p { margin-bottom: 18px; }
.prose strong { color: white; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.info-table th, .info-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 170px; color: var(--blue-2); font-size: 14px; }
.info-table td { color: #d9e0eb; }

.process { counter-reset: step; display: grid; gap: 14px; }
.process-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(53,105,255,0.15);
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
}
.process-step h3 { margin: 2px 0 5px; font-size: 18px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; }

.callout {
  padding: 28px;
  border-left: 4px solid var(--blue);
  border-radius: 0 18px 18px 0;
  background: rgba(53,105,255,0.09);
}
.callout h3 { margin-bottom: 8px; font-size: 20px; }
.callout p { margin-bottom: 0; color: #ccd5e3; }
.callout.warning { border-left-color: var(--warning); background: rgba(255,211,122,0.08); }
.callout.warning h3 { color: var(--warning); }

.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.case-card { display: flex; flex-direction: column; min-height: 100%; }
.case-card .case-meta { margin-top: auto; padding-top: 20px; }
.case-label { color: var(--blue-2); font-size: 12px; font-weight: 900; letter-spacing: 0.08em; }
.source-box {
  margin-top: 34px;
  padding: 20px;
  border: 1px dashed rgba(122,162,255,0.4);
  border-radius: 14px;
  background: rgba(53,105,255,0.06);
}
.source-box strong { display: block; margin-bottom: 8px; }
.source-box a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }

.faq-list { display: grid; gap: 12px; }
details {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}
summary {
  position: relative;
  padding: 20px 54px 20px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-2);
  font-size: 24px;
  font-weight: 500;
}
details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

.cta-section { padding: 76px 0; }
.cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(122,162,255,0.36);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(53,105,255,0.24), rgba(114,227,255,0.06));
}
.cta-box::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
}
.cta-box h2 { margin-bottom: 10px; font-size: clamp(28px, 4vw, 42px); line-height: 1.2; letter-spacing: -0.045em; }
.cta-box p { margin-bottom: 0; color: #d5dce8; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.site-footer { padding: 44px 0 28px; border-top: 1px solid var(--line); background: rgba(4,10,20,0.48); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 34px; }
.footer-brand p { max-width: 520px; color: var(--muted); font-size: 14px; }
.footer-title { margin-bottom: 13px; color: white; font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
.footer-links { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); color: #7f8ba1; font-size: 12px; }

.update-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #8290a8;
  font-size: 12px;
}
.update-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1040px) {
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 66px; flex-direction: column; align-items: stretch; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #0c1729; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 760px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 66px 0 52px; }
  .hero-grid { gap: 34px; }
  h1 { font-size: clamp(38px, 13vw, 56px); }
  .hero-lead { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .entity-row { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4, .definition, .split, .cta-box { grid-template-columns: 1fr; }
  .definition { padding: 26px; }
  .sticky-aside { position: static; }
  .page-hero { padding: 52px 0 40px; }
  .page-hero h1 { font-size: clamp(37px, 11vw, 52px); }
  .page-hero p { font-size: 17px; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding-bottom: 4px; border-bottom: 0; }
  .info-table td { padding-top: 4px; }
  .cta-box { padding: 28px; }
  .cta-actions { justify-content: flex-start; }
  .cta-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
