:root {
  color-scheme: dark;
  --bg: #0c0b09;
  --bg-elev: rgba(24, 21, 17, 0.82);
  --text: #f7f4ee;
  --muted: #b0a79a;
  --accent: #f7b11e;
  --accent-soft: rgba(247, 177, 30, 0.14);
  --line: rgba(255, 245, 224, 0.11);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(247, 177, 30, 0.14), transparent 70%),
    var(--bg);
  line-height: 1.75;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { opacity: 0.86; }
:where(a:any-link, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 24px;
  background: rgba(12, 11, 9, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(247, 177, 30, 0.28);
}

.top-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  min-block-size: 24px;
  display: inline-flex;
  align-items: center;
}

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

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 22px 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(247, 177, 30, 0.28);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(28px, 4.5vw, 38px);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}

h2 {
  font-size: 19px;
  margin: 34px 0 12px;
  color: var(--text);
  letter-spacing: -0.02em;
}

p, li {
  color: #dcd4c8;
  font-size: 15px;
}

ul { padding-left: 20px; }
li + li { margin-top: 8px; }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 22px 0;
}

.table-scroll {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 16px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

tr:last-child td { border-bottom: 0; }
th { background: rgba(255, 245, 224, 0.04); color: var(--text); font-weight: 700; }
td { color: #d8d0c3; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  .topbar { padding: 0 16px; }
  .top-nav { gap: 12px; font-size: 13px; }
}
