:root {
  --night: #0c0c0e;
  --raised: #16161a;
  --ink: #eee9e0;
  --muted: #a29d94;
  --rule: #2a2a2f;
  --champagne: #c9b68e;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --serif: "Noto Serif KR", "AppleMyungjo", "Nanum Myeongjo", "Batang", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 16px/1.75 var(--sans);
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--champagne); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }

.wrap { width: 100%; max-width: 840px; margin: 0 auto; padding: 0 16px; }

header { border-bottom: 1px solid var(--rule); }
.head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.brand { font: 400 20px/1.4 var(--serif); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); }
nav a { text-decoration: none; }

main { padding-top: 48px; padding-bottom: 72px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.4; }
h1 { font-size: 30px; margin: 0 0 24px; }
h2 { font-size: 21px; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--rule); }
h3 { font-size: 17px; margin: 28px 0 8px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

.hero { padding: 24px 0 8px; }
.hero h1 { font-size: clamp(34px, 8vw, 52px); line-height: 1.3; margin-bottom: 20px; }
.lead { font-size: 18px; }
.note { color: var(--muted); font-size: 15px; }

.table { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--rule); }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.65; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); min-width: 72px; }
tr:last-child td { border-bottom: 0; }
th { background: var(--raised); font-weight: 500; white-space: nowrap; }
.price { color: var(--champagne); white-space: nowrap; font-size: 16px; }

footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; color: var(--muted); font-size: 13px; }
footer p { margin: 0 0 4px; }
.foot-title { color: var(--ink); font: 400 16px/1.4 var(--serif); margin-bottom: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; color: var(--ink); }
strong { font-weight: 600; }
