/* 태생 홈 (10/26 밤 시안) — 맨 위 별 장면 하나 + 넓은 여백 · 아래는 글 중심 (색은 tokens.css 화이트·블랙·레드 그대로) */
/* 1. 대표 장면 */
.h2-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; min-height: min(calc(100svh - 100px), 860px); padding-top: 24px; padding-bottom: 24px; }
.h2-hero .h1 { font-size: clamp(30px, 3.5vw, 50px); line-height: 1.18; margin: 18px 0 22px; }
.h2-hero .lead { margin: 0 0 32px; }
.scene { position: relative; aspect-ratio: 1; max-width: 640px; width: 100%; justify-self: center; }
.scene img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; animation: float 9s ease-in-out infinite; }
.scene .note { position: absolute; right: 4%; bottom: 2%; }
/* 다섯 빛이 천천히 도는 궤도 — 홈에서 움직이는 건 이것 하나 */
.scene .orbit { position: absolute; inset: 0; border: 1px dashed var(--line); border-radius: 50%; animation: turn 60s linear infinite; }
.scene .orbit i { --a: calc(var(--k) * 72deg - 90deg); position: absolute; left: calc(50% + 50% * cos(var(--a))); top: calc(50% + 50% * sin(var(--a))); width: 14px; height: 14px; margin: -7px; border-radius: 50%; }
.o-wood { background: #2E9A8E; } .o-fire { background: #E2483C; } .o-earth { background: #E3B341; } .o-metal { background: #fff; box-shadow: 0 0 0 1.5px #b9b3a2; } .o-water { background: #22305A; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .scene img, .scene .orbit { animation: none; } }
@media (max-width: 860px) {
  .h2-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 28px; gap: 0; }
  .h2-hero .txt { display: contents; }
  .h2-hero .eyebrow { order: 1; } .h2-hero .h1 { order: 2; font-size: clamp(28px, 8vw, 40px); margin-bottom: 8px; }
  .scene { order: 3; margin: 6px auto 4px; width: 92%; }
  .h2-hero .lead { order: 4; margin-bottom: 20px; } .h2-hero .cta { order: 5; }
  .h2-hero .cta .btn { width: 100%; }
}
/* 아래 구역 공통 — 얇은 선 + 여백 */
.blk2 { padding-top: clamp(72px, 10vw, 140px); }
.blk2 .head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; border-top: 1px solid var(--line-strong); padding-top: 18px; margin-bottom: 36px; }
.blk2 .head .h2 { margin: 0; }
.blk2 .head .lead { margin: 0; justify-self: end; }
@media (max-width: 860px) { .blk2 .head { grid-template-columns: 1fr; } .blk2 .head .lead { justify-self: start; } }
.more { margin-top: 28px; }
/* 2. 다른 별들 — 테두리 없이 */
.stars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stars figure { margin: 0; }
.stars img { width: 88%; margin: 0 auto 8px; }
.stars b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.stars span { display: block; color: var(--mute); }
@media (max-width: 860px) { .stars { grid-template-columns: 1fr; gap: 6px; } .stars figure { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; } .stars img { width: 96px; margin: 0; } }
/* 3. 무료로 받는 것 — 큰 번호와 글 */
.free { list-style: none; margin: 0; padding: 0; counter-reset: f; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.free li { counter-increment: f; }
.free li::before { content: '0' counter(f); display: block; font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 10px; }
.free b { display: block; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.free span { color: var(--mute); }
@media (max-width: 860px) { .free { grid-template-columns: 1fr; gap: 22px; } }
/* 4. 별 지도 예시 — 그림 하나 (움직임 없음) */
.sm { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.sm .status { margin-bottom: 14px; }
.sm .h2 { white-space: pre-line; }
.smap { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; }
.smap .ring { position: absolute; inset: 10%; border: 1px dashed var(--line); border-radius: 50%; }
.smap img { position: absolute; z-index: 1; }
.smap .c { left: 32%; top: 32%; width: 36%; }
.smap .f { width: 22%; border-radius: 50%; }
.smap .f0 { left: 39%; top: 0; } .smap .f1 { left: 2%; top: 58%; } .smap .f2 { right: 2%; top: 58%; }
@media (max-width: 860px) { .sm { grid-template-columns: 1fr; } .smap { max-width: 300px; } }
/* 5. 해석서 — 한 줄씩 */
.reads { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.reads a { display: grid; grid-template-columns: 1fr auto 28px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.reads b { display: block; font-size: 22px; letter-spacing: -0.02em; }
.reads .t span { color: var(--mute); }
.reads .p { font-weight: 800; font-size: 18px; white-space: nowrap; } .reads .p s { color: var(--faint); font-weight: 500; font-size: 14px; }
.reads .go { color: var(--red); font-size: 20px; }
.reads a:hover b { color: var(--red); }
.sample { margin: 18px 0 4px; } .sample a { font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--red); }
@media (max-width: 560px) { .reads a { grid-template-columns: 1fr 22px; } .reads .p { grid-column: 1; } .reads .go { grid-row: 1 / 3; grid-column: 2; } }
/* 6. 해석 방식 · 이용 방법 */
.guide { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.guide dl { margin: 0; } .guide dt { font-weight: 800; font-size: 18px; margin-top: 18px; } .guide dt:first-child { margin-top: 0; } .guide dd { margin: 4px 0 0; color: var(--mute); }
.steps { margin: 0; padding-left: 20px; } .steps li { padding: 6px 0 6px 4px; }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; gap: 28px; } }
