:root {
  --bg: #0b0d10;
  --bg-2: #11151b;
  --panel: #161b22;
  --panel-2: #1c232c;
  --line: #2a323c;
  --text: #eceef1;
  --muted: #8d97a3;
  --faint: #5c6670;
  --accent: #c4a574;
  --accent-2: #e0c79a;
  --ok: #8fad78;
  --danger: #c97a6a;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(11,13,16,.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: .02em;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(160deg, #e0c79a, #8a6d3d);
  display: grid; place-items: center;
  color: #1a140c; font-size: 13px; font-weight: 800;
}
.nav-links { display: flex; gap: 22px; align-items: center; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: 0; cursor: pointer;
  border-radius: 999px; padding: 11px 18px;
  font-weight: 600; font-size: 14px;
  transition: .15s transform, .15s background;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #1a140c; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-dark { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }

.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 22px; }

/* hero */
.hero { padding: 88px 0 56px; }
.eyebrow {
  color: var(--accent-2); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 16px;
}
h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18; font-weight: 750; letter-spacing: -.03em;
}
.lead { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 48px;
}
.stat {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
}
.stat b { display: block; font-size: 22px; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 13px; }

/* rack visual */
.rack {
  margin-top: 48px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.rack-label { color: var(--faint); font-size: 13px; margin-top: 16px; }
.slots {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px;
}
.slot {
  aspect-ratio: 9/16;
  border-radius: 8px;
  border: 1px solid #3a4450;
  background: #0e1217;
}
.slot.on {
  background: linear-gradient(180deg, #2a2418, #1a1610);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(196,165,116,.25) inset;
}

/* sections */
section { padding: 72px 0; }
.section-title { font-size: 28px; letter-spacing: -.02em; margin-bottom: 10px; }
.section-sub { color: var(--muted); margin-bottom: 28px; max-width: 640px; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 14.5px; }
.card ul { padding-left: 18px; display: grid; gap: 6px; }
.tag {
  display: inline-block; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 10px;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; background: var(--panel); }
td { background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }

.note {
  margin-top: 16px; padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: #18140e; color: #d7c8aa; font-size: 14px;
}

form { display: grid; gap: 12px; }
label { font-size: 13px; color: var(--muted); }
input, select, textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
}
textarea { min-height: 120px; resize: vertical; }

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--faint); font-size: 13px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }

.page-hero { padding: 56px 0 20px; }
.crumbs { color: var(--faint); font-size: 13px; margin-bottom: 16px; }

@media (max-width: 900px) {
  .stats, .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 68px;
    background: #0f1318; border-bottom: 1px solid var(--line);
    padding: 16px 20px 20px; gap: 14px;
  }
  .menu-btn { display: block; }
  .slots { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 640px) {
  .stats, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(5, 1fr); }
}
