/* vivipop.app — 모바일 우선, 읽기 좋은 단순한 문서 스타일 */
:root {
  --bg: #050508;
  --surface: #18181f;
  --border: #2a2a35;
  --text: #f4f4f5;
  --muted: #9ca3af;
  --accent: #00f0ff;
  --accent-2: #ff2d95;
}

* { box-sizing: border-box; }

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

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

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

.site-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 16px 0;
}

.brand {
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 16px 40px;
}

h1 { font-size: 26px; line-height: 1.35; margin: 24px 0 16px; letter-spacing: -0.02em; }
h2 { font-size: 19px; line-height: 1.4; margin: 32px 0 10px; }
h3 { font-size: 16px; margin: 22px 0 8px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
strong { color: #fff; }

/* 표는 좁은 화면에서 가로로 밀어 볼 수 있게 */
.table-wrap { overflow-x: auto; margin: 0 0 16px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; min-width: 100%; font-size: 14px; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--surface); white-space: nowrap; }

/* 첫 화면 */
.hero { padding: 48px 0 24px; text-align: center; }
.hero h1 { font-size: 40px; margin: 0 0 8px; }
.hero .tagline { color: var(--muted); font-size: 18px; margin: 0 0 28px; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #050508;
  font-weight: 700;
  text-decoration: none;
}
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.button[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 16px 0; }

.note { color: var(--muted); font-size: 14px; }

/* 공유 영상 안내(/v/{id}) */
.share { text-align: center; padding-top: 16px; }
.share .thumb {
  display: block;
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--surface);
}
.share h1 { font-size: 22px; }

/* 꼬리말 */
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.site-footer .inner { max-width: 760px; margin: 0 auto; padding: 20px 16px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.site-footer nav a { color: var(--text); text-decoration: none; }
.site-footer nav a.privacy { font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 2px 0; }
.site-footer a { color: var(--muted); }
