/* Kata 소개·정책 페이지 공통 스타일 (브랜드: brand/README.md) */
:root {
  --navy: #1a1f27;
  --navy-2: #232a35;
  --lime: #a8ff00;
  --fg: #ffffff;
  --fg-muted: #afb6c2;
  --line: rgb(255 255 255 / 0.12);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--fg);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

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

/* 상단 바 */
.top {
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.top img {
  height: 28px;
  display: block;
}

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

.top nav a {
  color: var(--fg-muted);
  text-decoration: none;
}

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

/* 홈 */
.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.hero img {
  width: min(320px, 70vw);
  height: auto;
}

.hero p {
  margin: 20px 0 0;
  font-size: 20px;
  color: var(--fg);
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 58px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  line-height: 26px;
  text-align: center;
}

/* 문서 */
main {
  padding: 40px 0 64px;
}

h1 {
  font-size: 30px;
  line-height: 1.3;
  margin: 0 0 8px;
}

h2 {
  font-size: 20px;
  line-height: 1.4;
  margin: 40px 0 12px;
}

.meta {
  color: var(--fg-muted);
  margin: 0 0 24px;
}

p,
ul,
ol {
  margin: 0 0 14px;
}

li {
  margin: 4px 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

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

th {
  color: var(--fg-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* 하단 */
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--fg-muted);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer a {
  color: var(--fg-muted);
}
