/* 올라잇 홈페이지. 외부 글꼴이나 스크립트를 쓰지 않는다. */
:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --border: #d8dee4;
  --text: #1f2328;
  --text-secondary: #59636e;
  --primary: #1f6feb;
  --ok: #1a7f37;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --card: #161b22;
    --border: #30363d;
    --text: #e6edf3;
    --text-secondary: #9198a1;
    --primary: #4493f8;
    --ok: #3fb950;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  word-break: keep-all;
}

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

nav a {
  margin-left: 16px;
  font-size: 16px;
  color: var(--text-secondary);
  text-decoration: none;
}

nav a:first-child {
  margin-left: 0;
}

main {
  padding: 32px 0 48px;
}

h1 {
  font-size: 34px;
  line-height: 1.3;
  margin: 0 0 12px;
}

h2 {
  font-size: 24px;
  margin: 40px 0 12px;
}

h3 {
  font-size: 19px;
  margin: 28px 0 8px;
}

.lead {
  font-size: 20px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin: 16px 0;
}

.steps {
  padding-left: 22px;
}

.steps li {
  margin-bottom: 8px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

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

td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

th {
  color: var(--text-secondary);
  font-weight: 700;
}

.note {
  font-size: 16px;
  color: var(--text-secondary);
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  font-size: 15px;
  color: var(--text-secondary);
}

footer.site dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2px 14px;
  margin: 12px 0;
}

footer.site dt {
  font-weight: 700;
}

footer.site dd {
  margin: 0;
}
