/* LIVA 공식 홈페이지 (T398) — 제5조: #FBFAF8 배경 · #17150F 글씨 · #F7D65A 버튼 · Pretendard */
@font-face { font-family: 'Pretendard'; font-weight: 400; src: url('fonts/Pretendard-Regular.otf') format('opentype'); font-display: swap; }
@font-face { font-family: 'Pretendard'; font-weight: 600; src: url('fonts/Pretendard-SemiBold.otf') format('opentype'); font-display: swap; }
@font-face { font-family: 'Pretendard'; font-weight: 700; src: url('fonts/Pretendard-Bold.otf') format('opentype'); font-display: swap; }

:root {
  --bg: #FBFAF8;
  --ink: #17150F;
  --sub: #5E5A50;
  --line: #E7E3DA;
  --yellow: #F7D65A;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 max(24px, env(safe-area-inset-left)) 64px max(24px, env(safe-area-inset-right));
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(20px, env(safe-area-inset-top)) 0 20px;
}
.logo { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; }
.top a.small { color: var(--sub); font-size: 15px; text-decoration: none; }

h1 { font-size: 34px; line-height: 1.3; font-weight: 700; margin: 48px 0 16px; }
h2 { font-size: 22px; line-height: 1.4; font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
p { margin: 0 0 12px; }
.lead { font-size: 18px; color: var(--sub); margin-bottom: 32px; }

section { padding: 40px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

ol.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
ol.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
ol.steps .n { font-weight: 700; }
ol.steps p { color: var(--sub); margin: 0; }

.btn {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 0;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.ready-soon { background: #EFECE5; color: var(--sub); cursor: default; }
.btn-group { display: grid; gap: 12px; }
.note { font-size: 15px; color: var(--sub); margin-top: 12px; }

.block { padding: 16px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block p { color: var(--sub); margin: 0; }

.pending {
  background: #FFF6D6;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 15px;
}

footer { border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; color: var(--sub); }
footer a { color: var(--sub); }
