/* 첫 화면 전용 스타일: 끌 수 있는 이름, 두 뜻 시연, 기능 소개 구역 */
#landing { position: relative; min-height: calc(100svh - 64px); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px 72px; overflow: hidden; }
#landing .glow { position: absolute; left: 50%; top: 42%; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(49,130,246,.16) 0%, rgba(150,120,255,.08) 38%, rgba(247,248,251,0) 70%); animation: breathe 7s ease-in-out infinite; transition: translate .9s cubic-bezier(.3,1.4,.5,1); }
@keyframes breathe { 50% { transform: scale(1.08); } }
.string { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.string path { fill: none; stroke: var(--primary); stroke-width: 1.5; stroke-linecap: round; opacity: 0; transition: opacity .5s ease; }
#landing.pulling .string path { opacity: .55; transition: none; }
#landing h1 { margin: 0; font-weight: 400; position: relative; z-index: 3; }
#brand { display: inline-block; font-family: "Gowun Batang", serif; font-weight: 700; font-size: clamp(76px, 14vw, 136px); line-height: 1.1; letter-spacing: -.02em; color: var(--ink);
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; transition: transform .9s cubic-bezier(.3,1.6,.5,1), text-shadow .4s ease; }
#landing.pulling #brand { cursor: grabbing; transition: none; text-shadow: 0 18px 40px rgba(49,130,246,.25); }
#landing .means { margin-top: 14px; display: flex; align-items: center; gap: 14px; font-size: 17px; color: #8b919b; letter-spacing: .01em; }
#landing .means .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
#landing .means .m2 { color: var(--primary); }
#landing .means .dot, #landing .means .m2 { opacity: 0; transition: opacity .9s ease; }
#landing .means .m2 { transition-delay: .25s; }
#landing .means.done .dot { opacity: .7; }
#landing .means.done .m2 { opacity: 1; }
#m1 { display: inline-block; text-align: left; white-space: pre; color: #4e5560; transition: transform .9s cubic-bezier(.45,0,.2,1); }
#m1 .caret { display: none; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -3px; background: var(--primary); animation: blink 1s steps(1) infinite; }
#landing .means.typing .caret { display: inline-block; }
@keyframes blink { 50% { opacity: 0; } }
#demoSel { position: absolute; left: 0; top: 0; width: 0; height: 0; border: 2px dashed var(--primary); background: rgba(49,130,246,.10); border-radius: 8px;
  opacity: 0; pointer-events: none; z-index: 4; transition: opacity .35s ease; }
#demoCursor { position: absolute; left: 0; top: 0; width: 24px; height: 24px; opacity: 0; pointer-events: none; z-index: 5; transition: opacity .4s ease;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
#demoCursor path { transform-origin: 5px 3px; transition: transform .15s ease; }
#demoCursor.down path { transform: scale(.86); }
#landing .tag { margin: 44px 0 34px; font-size: 19px; line-height: 1.8; color: #4e5560; }
#startBtn { display: inline-block; font-family: inherit; background: var(--ink); color: #fff; padding: 16px 46px; font-size: 17px; border-radius: 999px; letter-spacing: .02em; text-decoration: none; }
#startBtn:hover { background: #000; }
#landing .try { margin: 22px 0 0; font-size: 13px; color: #a2a8b1; transition: opacity .4s ease; }
#landing.pulled .try { animation: none; opacity: 0; }
.rise { opacity: 0; transform: translateY(12px); animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d,0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* 아래 구역 */
.band { max-width: 1080px; margin: 0 auto; padding: 72px 20px; }
.band h2 { font-family: "Gowun Batang", serif; font-weight: 700; font-size: clamp(26px, 4vw, 32px); line-height: 1.4; margin: 0 0 10px; text-align: center; }
.band .sub { text-align: center; color: var(--sub); margin: 0 0 32px; }
.feature { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.feature .ic { font-size: 26px; }
.feature h3 { font-family: "Gowun Batang", serif; font-weight: 700; font-size: 20px; margin: 10px 0 8px; }
.feature p { margin: 0; color: #4e5560; font-size: 15px; line-height: 1.7; }
.closing { text-align: center; padding: 64px 20px 88px; }
.closing p { color: #4e5560; margin: 0 0 24px; }

@media (max-width: 640px) {
  #landing .means { font-size: 15.5px; gap: 10px; }
  #landing .tag { font-size: 17px; margin: 36px 0 28px; }
  .band { padding: 56px 16px; }
}
@media (prefers-reduced-motion: reduce) { .rise { animation: none; opacity: 1; transform: none; } #landing .glow { animation: none; } #demoCursor, #demoSel { display: none; } }
