/* 홍보 랜딩 스타일(2026-11-08). 외부 폰트·스크립트 없이 시스템 글꼴만 쓴다. 모바일 우선, 768px 이상에서 넓힌다. */
:root {
  --bg: #fff6e9;
  --ink: #1f2540;
  --muted: #5d6280;
  --card: #ffffff;
  --accent: #ff7a3d;
  --straw: #e8362f;
  --slime: #1c47b0;
  --line: #f0dfc8;
  --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--slime); outline-offset: 3px; border-radius: 6px; }

/* 상단 바 */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 14px var(--gutter);
}
.brand { font-weight: 900; font-size: 1.05rem; text-decoration: none; letter-spacing: -0.02em; }
.lang {
  font-size: 0.9rem; font-weight: 700; text-decoration: none;
  border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; min-height: 36px; line-height: 1.7;
}

main > section { padding: 56px var(--gutter); max-width: 1120px; margin: 0 auto; }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.25; }

/* 히어로 */
.hero { text-align: center; padding-top: 24px; }
.eyebrow {
  display: inline-block; background: var(--straw); color: #fff; font-weight: 800; font-size: 0.85rem;
  border-radius: 999px; padding: 4px 14px; margin-bottom: 14px;
}
h1 { font-size: clamp(2.6rem, 13vw, 5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; color: var(--slime); }
.tagline { font-size: clamp(1.15rem, 4.6vw, 1.6rem); font-weight: 800; line-height: 1.4; margin: 14px auto 0; max-width: 24em; }
.lead { color: var(--muted); margin: 12px auto 24px; max-width: 30em; }
.cta {
  appearance: none; font: inherit; color: #fff; background: var(--ink);
  border: 0; border-radius: 16px; padding: 10px 28px; min-width: 200px; min-height: 56px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2;
  cursor: not-allowed; opacity: 0.92;
}
.cta small { font-size: 0.75rem; letter-spacing: 0.04em; opacity: 0.8; }
.cta strong { font-size: 1.2rem; font-weight: 900; }

.hero-art { margin: 32px auto 0; }
.hero-art picture { display: block; height: 100%; }
.hero-art picture, .hero-art img { width: 100%; }
.hero-art img { border-radius: 28px; border: 4px solid var(--ink); box-shadow: 0 14px 0 rgba(31, 37, 64, 0.12); }
/* 모바일은 9:16(높이 상한), 넓은 화면은 16:9. 이미지 로드 전에 자리를 잡아 레이아웃이 밀리지 않게 한다. */
.hero-art { aspect-ratio: 9 / 16; width: min(100%, calc(78svh * 9 / 16)); }
.hero-art img { height: 100%; object-fit: cover; }

/* 특징 */
.features h2 { text-align: center; margin-bottom: 28px; }
.features ul { display: grid; gap: 14px; }
.features li { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 20px; }
.num {
  display: inline-block; font-weight: 900; font-size: 0.85rem; color: #fff; background: var(--accent);
  border-radius: 8px; padding: 0 8px; margin-bottom: 8px;
}
.features h3 { font-size: 1.2rem; font-weight: 900; letter-spacing: -0.02em; }
.features p { color: var(--muted); margin-top: 4px; }

/* 스테이지: 모바일은 가로 스와이프, 넓은 화면은 4열 */
.stages { text-align: center; }
.stages-lead { color: var(--muted); margin-top: 8px; }
.stages ul {
  display: flex; gap: 16px; margin: 28px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; text-align: left;
}
.stages li { flex: 0 0 min(72vw, 280px); scroll-snap-align: center; }
.stages li img { width: 100%; border-radius: 24px; border: 4px solid var(--ink); background: var(--ink); }
.chapter { margin-top: 12px; font-size: 0.8rem; font-weight: 800; color: var(--straw); letter-spacing: 0.04em; }
.stages h3 { font-size: 1.2rem; font-weight: 900; letter-spacing: -0.02em; }
.stages li > p:last-child { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.note { margin-top: 12px; font-size: 0.8rem; color: var(--muted); }

/* 마무리 */
.final { text-align: center; }
.final p { color: var(--muted); margin: 8px 0 24px; }

footer { border-top: 2px solid var(--line); padding: 28px var(--gutter) 40px; text-align: center; color: var(--muted); font-size: 0.9rem; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 8px; }
footer a { display: inline-block; padding: 8px 0; text-underline-offset: 3px; }

@media (min-width: 760px) {
  :root { --gutter: 32px; }
  main > section { padding-top: 80px; padding-bottom: 80px; }
  .hero { padding-top: 40px; }
  .hero-art { aspect-ratio: 16 / 9; width: 100%; max-width: 1040px; }
  .features ul { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .features li { padding: 28px; }
  .stages ul { margin: 36px 0 0; padding: 4px 0 0; overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stages li { flex: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .lang { transition: background-color 0.15s, color 0.15s; }
  .lang:hover { background: var(--ink); color: var(--bg); }
}
