:root {
  --bg: #0d0c16;
  --bg-soft: #12101e;
  --surface: #19162a;
  --surface-2: #211d36;
  --border: #302a49;
  --border-bright: #4b416d;
  --text: #f7f5ff;
  --muted: #b6b0c9;
  --dim: #8e87a5;
  --accent: #9b7cff;
  --accent-2: #70d6ff;
  --green: #5ce1a5;
  --yellow: #ffd166;
  --red: #ff7b8b;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -10%, rgba(155, 124, 255, .13), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}
img { max-width: 100%; }
a { color: var(--accent-2); text-underline-offset: .2em; }
a:hover { color: #fff; }
button, input { font: inherit; }
code {
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #0b0a12;
  color: #d8ceff;
  padding: .08em .38em;
  overflow-wrap: anywhere;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem, 6vw, 4.7rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.45rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }
p { color: var(--muted); }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.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;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #111;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(75, 65, 109, .68);
  background: rgba(13, 12, 22, .88);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -.05em;
  flex: 0 0 auto;
}
.brand img { width: 31px; height: 40px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand small {
  margin-top: 5px;
  color: var(--dim);
  font-size: .55rem;
  letter-spacing: .17em;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 9px 11px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .91rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(155, 124, 255, .13);
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-button > span:not(.sr-only) { width: 18px; height: 2px; background: #fff; border-radius: 2px; }

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  padding-top: 24px;
  color: var(--dim);
  font-size: .9rem;
}
.breadcrumb a { color: var(--muted); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 130px) 0 clamp(68px, 9vw, 110px);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  width: 44rem;
  height: 44rem;
  right: -18rem;
  top: -20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 214, 255, .13), rgba(155, 124, 255, .09) 40%, transparent 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); align-items: center; gap: clamp(42px, 8vw, 90px); }
.hero .lead, .page-hero .lead { max-width: 760px; }
.lead { color: #ded9ec; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.75; }
.muted { color: var(--dim); font-size: .93rem; }
.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 13px;
}
.hero-panel {
  padding: 24px;
  border: 1px solid var(--border-bright);
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(155, 124, 255, .13), transparent 50%),
    var(--surface);
  box-shadow: var(--shadow);
}
.hero-art {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #090921;
}
.route-caption {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  margin: 0 0 17px;
  color: var(--dim);
  font-size: .74rem;
  font-weight: 800;
}
.route-caption b { color: var(--accent); }
.fact-list { margin: 0; }
.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--border);
}
.fact-list div:last-child { border-bottom: 0; }
.fact-list dt { color: var(--dim); }
.fact-list dd { margin: 0; font-weight: 800; text-align: right; }

.page-hero { padding-top: clamp(64px, 8vw, 105px); padding-bottom: 26px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4.15rem); max-width: 970px; }
.section { padding-top: clamp(64px, 8vw, 105px); padding-bottom: clamp(64px, 8vw, 105px); }
.section-contrast {
  border-block: 1px solid var(--border);
  background: rgba(25, 22, 42, .55);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 510px; margin-bottom: .4rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 8vw, 90px); align-items: start; }
.space-top { margin-top: 64px; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-bright);
  border-radius: 13px;
  padding: 11px 18px;
  color: #fff;
  background: rgba(255, 255, 255, .025);
  text-decoration: none;
  font-weight: 800;
}
.button:hover { border-color: var(--accent); background: rgba(155, 124, 255, .1); }
.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #7658df, #4daed4);
  box-shadow: 0 12px 28px rgba(118, 88, 223, .24);
}
.button.primary:hover { color: #fff; filter: brightness(1.12); }
.text-link { font-weight: 800; text-decoration: none; }

.purpose-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.purpose-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 50px; }
.purpose-card {
  display: block;
  min-height: 218px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, .025), rgba(155, 124, 255, .035));
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
a.purpose-card:hover { transform: translateY(-4px); border-color: var(--accent); color: inherit; }
.purpose-card > span { color: var(--accent); font-size: .78rem; font-weight: 900; }
.purpose-card h3 { margin: 30px 0 10px; font-size: 1.17rem; }
.purpose-card p { margin-bottom: 0; font-size: .94rem; }
.category-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.category-strip a {
  display: grid;
  justify-items: start;
  gap: 4px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--bg-soft);
  color: inherit;
  text-decoration: none;
}
.category-strip a:hover { border-color: var(--accent-2); }
.category-strip span { color: var(--accent-2); font-size: 1.7rem; }
.category-strip small { color: var(--dim); }

.step-list { counter-reset: step; list-style: none; margin: 28px 0 0; padding: 0; }
.step-list li {
  position: relative;
  padding: 0 0 28px 56px;
  border-left: 1px solid var(--border);
  margin-left: 18px;
}
.step-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -19px;
  top: -2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-2);
  font-weight: 900;
}
.step-list b, .step-list span { display: block; }
.step-list span { margin-top: 4px; color: var(--muted); }
.step-list.compact li { padding-bottom: 20px; }
.note-card, .contact-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  background: var(--surface);
}
.definition-list { margin: 0 0 24px; }
.definition-list div { padding: 15px 0; border-bottom: 1px solid var(--border); }
.definition-list dt { margin-bottom: 8px; }
.definition-list dd { margin: 0; color: var(--muted); font-size: .91rem; }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.25;
}
.badge.ok { border-color: rgba(92, 225, 165, .35); color: var(--green); background: rgba(92, 225, 165, .08); }
.badge.redirect { color: var(--accent-2); border-color: rgba(112, 214, 255, .35); }
.badge.review { color: var(--yellow); border-color: rgba(255, 209, 102, .35); }
.badge.removed { color: var(--red); border-color: rgba(255, 123, 139, .35); }
.badge.neutral { color: var(--muted); }
.badge.sponsored { color: var(--yellow); border-color: rgba(255, 209, 102, .4); background: rgba(255, 209, 102, .07); }
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(92, 225, 165, .11);
}
.review-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 52px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--dim);
  font-size: .88rem;
}
.review-note strong { color: #fff; }

.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 2px;
  color: #fff;
  font-weight: 800;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 16px; color: var(--accent); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 42px 22px 2px; color: var(--muted); }

.domain-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 24px;
  align-items: center;
  padding: clamp(28px, 6vw, 62px);
  border: 1px solid var(--border-bright);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 0, rgba(112, 214, 255, .12), transparent 24rem),
    linear-gradient(145deg, rgba(155, 124, 255, .12), transparent 48%),
    var(--surface);
  box-shadow: var(--shadow);
}
.domain-status { display: flex; align-items: center; gap: 12px; color: var(--green); font-weight: 800; }
.domain-name { display: block; font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1.1; letter-spacing: -.07em; }
.domain-card > code { justify-self: start; font-size: 1rem; }
.domain-card > .button { grid-row: 1 / 4; grid-column: 2; }
.check-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--border);
}
.check-grid div { padding: 15px; background: var(--bg-soft); }
.check-grid dt { color: var(--dim); font-size: .77rem; }
.check-grid dd { margin: 5px 0 0; color: #fff; overflow-wrap: anywhere; font-size: .9rem; }
.fine-print { margin: 20px 0 0; color: var(--dim); font-size: .88rem; }
.sponsor-box { border-style: dashed; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 690px; background: var(--bg-soft); font-size: .91rem; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: #fff; background: var(--surface); }
td { color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }

.verification-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 850px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(92, 225, 165, .25);
  border-radius: 15px;
  background: rgba(92, 225, 165, .055);
}
.sponsored-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0 4px;
}
.sponsored-link-row .button { min-height: 43px; padding: 8px 14px; }
.verification-banner .status-dot { margin-top: 8px; flex: 0 0 auto; }
.verification-banner p { margin: 3px 0 0; font-size: .88rem; }
.directory-tools {
  position: sticky;
  top: 72px;
  z-index: 30;
  padding-block: 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 12, 22, .94);
  backdrop-filter: blur(14px);
}
.directory-tools label { display: block; margin-bottom: 6px; color: #fff; font-size: .85rem; font-weight: 800; }
.directory-tools input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  outline: none;
  background: var(--surface);
  color: #fff;
}
.directory-tools input:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(112, 214, 255, .1); }
.filter-row { display: flex; gap: 7px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.filter {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 800;
}
.filter:hover, .filter.active { color: #fff; border-color: var(--accent); background: rgba(155, 124, 255, .12); }
.directory-sections { padding-bottom: 90px; }
.directory-section { padding-top: 70px; }
.directory-heading { display: flex; gap: 18px; align-items: start; margin-bottom: 26px; }
.directory-heading h2 { margin-bottom: 5px; }
.directory-heading p { margin-bottom: 0; }
.category-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  background: var(--surface);
  color: var(--accent-2);
  font-size: 1.4rem;
}
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.link-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.link-card[hidden], .directory-section[hidden] { display: none; }
.link-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.link-card-top > div { display: flex; flex-wrap: wrap; gap: 5px; }
.redirect-count { color: var(--dim); font-size: .7rem; white-space: nowrap; }
.link-card h3 { margin: 24px 0 8px; }
.link-card > p { font-size: .89rem; }
.link-card dl { margin: auto 0 17px; }
.link-card dl div { display: grid; grid-template-columns: 78px 1fr; gap: 8px; padding: 5px 0; font-size: .77rem; }
.link-card dt { color: var(--dim); }
.link-card dd { margin: 0; color: #d9d4e6; overflow-wrap: anywhere; }
.link-out {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  text-decoration: none;
  font-weight: 850;
}
.empty-state { padding: 40px; text-align: center; border: 1px dashed var(--border); border-radius: 16px; }

.check-list { list-style: none; margin: 22px 0; padding: 0; }
.check-list li { position: relative; padding: 8px 0 8px 31px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.check-list.warning li::before { content: "—"; color: var(--yellow); }
.guide-steps { max-width: 900px; }
.guide-steps article { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.guide-steps article > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 15px;
  color: var(--accent-2);
  background: var(--surface);
  font-weight: 900;
}
.guide-steps h2 { font-size: 1.45rem; }
.source-list { list-style: none; padding: 0; }
.source-list li { display: grid; gap: 3px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.source-list a { font-weight: 800; }
.source-list span { color: var(--dim); font-size: .87rem; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  list-style: none;
  padding: 0;
}
.process-grid li { min-height: 215px; padding: 21px; border: 1px solid var(--border); border-radius: 17px; background: var(--bg-soft); }
.process-grid li > span { color: var(--accent); font-weight: 900; font-size: .78rem; }
.process-grid h3 { margin: 28px 0 8px; }
.process-grid p { margin: 0; font-size: .9rem; }
.record-list { margin: 28px 0 0; border-top: 1px solid var(--border); }
.record-list div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.record-list dt { color: var(--dim); }
.record-list dd { margin: 0; color: #fff; }

.timeline { max-width: 900px; }
.timeline article { display: grid; grid-template-columns: 175px 1fr; gap: 30px; padding: 38px 0; border-bottom: 1px solid var(--border); }
.timeline time { color: var(--accent-2); font-weight: 850; font-size: .85rem; }
.timeline h2 { margin: 14px 0 12px; font-size: 1.55rem; }
.timeline li { color: var(--muted); margin-bottom: 6px; }
.email-link { display: inline-block; margin: 4px 0 14px; color: #fff; font-size: clamp(1.25rem, 4vw, 2rem); font-weight: 900; }
.legal-copy h2 { margin-top: 50px; font-size: 1.45rem; }
.legal-copy h2:first-child { margin-top: 0; }
.error-page { padding-top: 120px; padding-bottom: 150px; }
.error-page h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }

.site-footer { padding: 65px 0 24px; border-top: 1px solid var(--border); background: #09080f; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.footer-grid > div { display: flex; align-items: start; flex-direction: column; gap: 8px; }
.footer-grid strong { margin-bottom: 8px; color: #fff; }
.footer-grid a { color: var(--muted); font-size: .87rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { max-width: 410px; font-size: .87rem; }
.footer-brand { font-size: 1.45rem; letter-spacing: -.05em; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { margin: 0; color: var(--dim); font-size: .78rem; }
.histats-counter { min-height: 1px; }

@media (max-width: 980px) {
  .menu-button { display: flex; }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 64px;
    display: none;
    padding: 10px;
    border: 1px solid var(--border-bright);
    border-radius: 15px;
    background: #12101e;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 12px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 15px; word-break: normal; overflow-wrap: anywhere; }
  .shell { width: min(100% - 28px, 1180px); }
  .brand img { width: 27px; height: 35px; }
  .section-heading { display: block; }
  .section-heading > p, .section-heading > a { display: block; margin-top: 12px; }
  .purpose-grid, .purpose-grid.two, .category-strip, .link-grid, .process-grid { grid-template-columns: 1fr; }
  .purpose-card { min-height: auto; }
  .category-strip a { min-height: 120px; }
  .domain-card { grid-template-columns: 1fr; }
  .domain-card > .button { grid-row: auto; grid-column: auto; justify-self: start; }
  .check-grid { grid-template-columns: 1fr; }
  .directory-tools { top: 64px; }
  .link-card { min-height: 315px; }
  .guide-steps article { grid-template-columns: 42px 1fr; gap: 14px; }
  .guide-steps article > span { width: 40px; height: 40px; }
  .timeline article { grid-template-columns: 1fr; gap: 10px; }
  .record-list div { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
}

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