:root {
  color-scheme: dark;
  --bg: #100c18;
  --panel: #21182b;
  --panel-soft: #2d2038;
  --gold: #e9c46a;
  --cream: #f7e7b7;
  --text: #f7f3fb;
  --muted: #b9afc2;
  --line: rgba(233, 196, 106, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 53, 112, 0.28), transparent 38rem),
    linear-gradient(180deg, #0f0b18 0%, #191126 54%, #0c171b 100%);
  color: var(--text);
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.75;
  word-break: keep-all;
}

a { color: var(--cream); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 11, 24, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner,
.page,
.site-footer {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.nav a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--gold); }

.page { padding: 56px 0 72px; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--cream); line-height: 1.35; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3rem); }
h2 { margin: 0 0 12px; font-size: 1.25rem; }
h3 { margin: 24px 0 8px; font-size: 1rem; }

.lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.updated {
  margin: 18px 0 0;
  color: #8e8398;
  font-size: 0.82rem;
}

.card {
  margin-top: 24px;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(45, 32, 56, 0.92), rgba(27, 20, 35, 0.94));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}

.card p:last-child,
.card ul:last-child { margin-bottom: 0; }

ul { padding-left: 1.2rem; }
li + li { margin-top: 7px; }

.notice {
  padding: 15px 17px;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: rgba(233, 196, 106, 0.08);
  color: var(--cream);
}

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

th { color: var(--gold); }
td { color: #d9d1df; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: #211829;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  padding: 22px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #897f91;
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 700px) {
  .header-inner {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .nav { justify-content: flex-start; gap: 5px 13px; }
  .page { padding-top: 38px; }
}
