/* Reelscope 홈 — toss.im 의 구조·연출을 참고(흰 바탕 · 짧은 두 줄 제목 · 스크롤에 맞춘 등장 · 고정 스크롤 기능 소개).
   토스의 문구·이미지·전용 글꼴은 쓰지 않는다. 인포그래픽 수치는 전부 ep.07 실제 분석값(home-data.js). */
.home, .home ~ footer, body:has(.home) .nav { font-family: "Pretendard Variable", Pretendard, var(--font); }
.home { --stage: #f2f4f6; --sub: #4e5968; --faint: #b0b8c1; --line: #e5e8eb; --key: var(--primary); overflow-x: clip; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .home { --stage: #17171c; --sub: #b0b8c1; --faint: #4e5968; --line: #2c2c35; } }
:root[data-theme="dark"] .home { --stage: #17171c; --sub: #b0b8c1; --faint: #4e5968; --line: #2c2c35; }

.h-sec { padding: 160px 0; }
.h-eyebrow { font-size: 17px; font-weight: 700; color: var(--key); margin: 0 0 16px; }
.h-h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.28; font-weight: 800; letter-spacing: -0.035em; margin: 0; color: var(--ink); }
.h-p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--sub); margin: 24px 0 0; max-width: 620px; font-weight: 500; }
.h-btn { font-size: 18px; font-weight: 700; padding: 16px 28px; }

/* 등장 */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
.h-h2[data-reveal] { transition-delay: .05s; } .h-p[data-reveal] { transition-delay: .15s; }

/* ── 히어로 ── */
.h-hero { padding: 12px 16px 0; }
.h-hero-frame { position: relative; height: min(88vh, 900px); min-height: 560px; border-radius: 32px; overflow: hidden; background: #000; }
.h-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.62) 100%); }
.h-hero-copy { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; color: #fff; padding: 0 24px; }
.h-hero-eyebrow { font-size: 17px; font-weight: 600; opacity: .85; margin: 0 0 18px; }
.h-hero-title { font-size: clamp(44px, 6.6vw, 88px); line-height: 1.16; font-weight: 800; letter-spacing: -0.04em; margin: 0; }
.h-hero-title .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(8px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1), filter .8s; }
.h-hero-title.go .w { opacity: 1; transform: none; filter: none; }
.h-hero-cta { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0; transition: opacity .8s 1.1s; }
.h-hero-title.go + .h-hero-cta { opacity: 1; }
.h-hero-cta span { font-size: 14px; opacity: .8; }

/* ── 문제 제기: 스크롤에 맞춰 한 줄씩 진해진다 ── */
.h-state { padding: 200px 24px; }
.h-state-t { margin: 0 auto; max-width: 980px; text-align: center; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.35; font-weight: 800; letter-spacing: -0.035em; }
.h-state-t span { display: block; color: var(--ink); opacity: var(--o, .14); transition: opacity .2s linear; }

/* ── 플랫폼 ── */
.h-platform { text-align: center; }
.h-platform .h-p { margin-left: auto; margin-right: auto; }
.h-pf-stage { position: relative; margin: 80px auto 0; max-width: 980px; height: 560px; background: var(--stage); border-radius: 32px; }
.h-bm { position: absolute; left: 50%; top: 70px; width: 660px; max-width: 78%; height: 420px; transform: translateX(-50%); background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,30,80,.14), 0 0 0 1px rgba(0,0,0,.05); overflow: hidden; text-align: left; }
.h-bm-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #eef0f3; }
.h-bm-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.h-bm-url { flex: 1; margin-left: 10px; height: 24px; border-radius: 12px; background: #fff; font-size: 12px; color: #8b95a1; display: flex; align-items: center; padding: 0 12px; }
.h-bm-ext { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; transition: background .3s; }
.h-bm-body { display: flex; height: calc(100% - 40px); background: #111; }
.h-bm-reel { flex: 1; display: grid; place-items: center; }
.h-bm-reel img { height: 92%; aspect-ratio: 9/16; object-fit: cover; border-radius: 10px; }
.h-bm-panel { width: 0; background: #fff; overflow: hidden; transition: width .7s cubic-bezier(.2,.7,.2,1) 1.6s; padding: 0; }
.h-bm-ph { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #333d4b; padding: 10px 12px; border-bottom: 1px solid #eef0f3; white-space: nowrap; }
.h-bm-btn { margin: 12px; padding: 10px; border-radius: 10px; background: var(--key); color: #fff; font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; }
.h-bm-line { height: 8px; border-radius: 4px; background: #eef0f3; margin: 8px 12px; } .w80 { width: 80%; } .w60 { width: 60%; }
.h-bm-card { margin: 14px 12px; padding: 12px; border-radius: 12px; background: #f2f4f6; display: grid; gap: 6px; }
.h-bm-card b { font-size: 26px; color: #191f28; }
.h-bm-card span { height: 6px; border-radius: 3px; background: var(--key); opacity: .75; }
.h-bm-card span:nth-of-type(2) { width: 80%; } .h-bm-card span:nth-of-type(3) { width: 92%; }
.h-cursor { position: absolute; left: 70%; top: 90%; transition: left 1s cubic-bezier(.45,0,.2,1) .3s, top 1s cubic-bezier(.45,0,.2,1) .3s; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.h-ripple { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--key); opacity: 0; }
.h-pf-stage.play .h-cursor { left: calc(100% - 36px); top: 18px; }
.h-pf-stage.play .h-ripple { left: calc(100% - 28px); top: 21px; animation: h-ripple .7s 1.35s ease-out both; }
.h-pf-stage.play .h-bm-ext { background: #e8f0fe; transition-delay: 1.35s; }
.h-pf-stage.play .h-bm-panel { width: 34%; }
@keyframes h-ripple { from { opacity: .7; transform: scale(.3); } to { opacity: 0; transform: scale(1.6); } }
.h-pf-card { position: absolute; display: grid; grid-template-columns: 44px auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 16px 22px 16px 16px; background: #fff; border-radius: 20px; box-shadow: 0 18px 40px rgba(0,30,80,.12); opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); }
.h-pf-card b { font-size: 17px; color: #191f28; } .h-pf-card small { font-size: 13px; color: #6b7684; grid-column: 2; }
.h-pf-ico { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; background: #f2f4f6; display: grid; place-items: center; color: #111; }
.h-pf-ico svg { width: 24px; height: 24px; }
.c1 { left: -18px; top: 120px; } .c2 { right: -24px; top: 250px; } .c3 { left: 40px; bottom: -28px; }
.h-pf-stage.play .h-pf-card { opacity: 1; transform: none; }
.h-pf-stage.play .c1 { transition-delay: .2s; } .h-pf-stage.play .c2 { transition-delay: .45s; } .h-pf-stage.play .c3 { transition-delay: .7s; }

/* ── 기능 소개: 화면 고정 스크롤 ── */
.h-feat { position: relative; height: 520vh; }
.h-feat-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.h-feat-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); grid-template-rows: auto repeat(5, auto) 1fr; column-gap: 72px; align-items: start; }
.h-feat-head { grid-column: 1; grid-row: 1; margin-bottom: 40px; }
.h-f { display: contents; }
.h-f-copy { grid-column: 1; border-top: 1px solid var(--line); padding: 20px 0; cursor: pointer; }
.h-f-copy h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--faint); transition: color .35s; }
.h-f-copy p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; font-size: 16px; line-height: 1.6; color: var(--sub); transition: max-height .5s, opacity .4s, margin .4s; }
.h-f.on .h-f-copy h3 { color: var(--ink); }
.h-f.on .h-f-copy p { max-height: 140px; opacity: 1; margin-top: 10px; }
.h-f-ig { grid-column: 2; grid-row: 1 / -1; align-self: center; position: relative; height: min(68vh, 600px); background: var(--stage); border-radius: 32px; overflow: hidden; opacity: 0; transform: scale(.97); transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.h-f.on .h-f-ig { opacity: 1; transform: none; pointer-events: auto; }
.ig-shot-btn { position: absolute; right: 18px; top: 18px; z-index: 3; font: 600 13px/1 inherit; font-family: inherit; color: var(--sub); background: color-mix(in srgb, var(--canvas) 85%, transparent); border: 0; padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.ig-shot-btn:hover { color: var(--ink); }
.ig-shot { position: absolute; inset: 0; z-index: 2; background: var(--stage); display: none; overflow: auto; padding: 56px 24px 24px; }
.ig-shot img { display: block; width: min(420px, 100%); margin: 0 auto; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.h-f-ig.shot .ig-shot { display: block; }
.ig { position: absolute; inset: 0; padding: 56px 48px 48px; display: flex; flex-direction: column; justify-content: center; }
.ig-k { font-size: 15px; font-weight: 600; color: var(--sub); }
.ig-card { background: var(--canvas); border-radius: 24px; padding: 32px; box-shadow: 0 10px 30px rgba(0,30,80,.06); }

/* 종합 지표 */
.ig-score-n { font-size: 96px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 10px 0 30px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ig-score-n small { font-size: 26px; color: var(--faint); font-weight: 600; margin-left: 6px; }
.ig-bar { display: grid; grid-template-columns: 52px 1fr 48px; align-items: center; gap: 16px; margin-top: 16px; font-size: 17px; font-weight: 600; color: var(--sub); }
.ig-bar i { height: 12px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.ig-bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); transform: scaleX(0); transform-origin: left; border-radius: 6px; background: var(--key); transition: transform 1s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.ig-bar b { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.ig-bar.weak i::after { background: #ff8a3d; }
.go .ig-bar i::after { transform: none; }
.ig-note { margin-top: 24px; font-size: 15px; color: var(--sub); opacity: 0; transition: opacity .6s 1.3s; }
.ig-note b { color: #ff6b00; }
.go .ig-note { opacity: 1; }

/* 훅 타임라인 */
.ig-tl { position: relative; height: 150px; margin-top: 30px; }
.ig-tl-axis { position: absolute; left: 0; right: 0; top: 74px; height: 6px; border-radius: 3px; background: var(--line); }
.ig-tl-span { position: absolute; top: 74px; height: 6px; border-radius: 3px; background: var(--key); left: var(--a); width: 0; transition: width 1.2s cubic-bezier(.2,.7,.2,1) .5s; }
.go .ig-tl-span { width: var(--w); }
.ig-tl-mark { position: absolute; top: 40px; transform: translateX(-50%); text-align: center; font-size: 14px; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity .5s var(--d); white-space: nowrap; }
.ig-tl-mark::after { content: ""; display: block; width: 16px; height: 16px; margin: 10px auto 0; border-radius: 50%; background: var(--canvas); border: 4px solid var(--key); }
.ig-tl-mark.end::after { background: var(--key); }
.go .ig-tl-mark { opacity: 1; }
.ig-tl-ticks { position: absolute; left: 0; right: 0; top: 104px; display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.ig-beats { display: grid; gap: 10px; margin-top: 18px; }
.ig-beat { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline; font-size: 15px; color: var(--sub); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--d), transform .5s var(--d); }
.ig-beat b { color: var(--key); font-variant-numeric: tabular-nums; }
.go .ig-beat { opacity: 1; transform: none; }
.ig-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.ig-chip { font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: 12px; background: var(--canvas); color: var(--ink); box-shadow: inset 0 0 0 2px var(--key); transform: scale(.6); opacity: 0; transition: transform .5s cubic-bezier(.3,1.6,.5,1) var(--d), opacity .3s var(--d); }
.ig-chip small { color: var(--key); margin-left: 6px; font-weight: 700; }
.go .ig-chip { transform: none; opacity: 1; }

/* 감정 곡선 */
.ig-emo svg { width: 100%; height: auto; overflow: visible; display: block; margin-top: 18px; }
.ig-emo .curve { fill: none; stroke: var(--key); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s cubic-bezier(.4,0,.2,1) .2s; }
.ig-emo .area { fill: var(--key); opacity: 0; transition: opacity .8s 1.8s; }
.ig-emo .loud rect { fill: var(--faint); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .5s var(--d); }
.ig-emo .peak { opacity: 0; transition: opacity .4s 2.1s; }
.ig-emo .peak .ring { transform-box: fill-box; transform-origin: center; }
.go.ig-emo .curve { stroke-dashoffset: 0; } .go.ig-emo .area { opacity: .12; } .go.ig-emo .loud rect { transform: none; } .go.ig-emo .peak { opacity: 1; }
.go.ig-emo .peak .ring { animation: h-pulse 1.6s 2.2s ease-out infinite; }
@keyframes h-pulse { from { transform: scale(1); opacity: .5; } to { transform: scale(3.2); opacity: 0; } }
.ig-emo text { font: 700 15px "Pretendard Variable", Pretendard, sans-serif; fill: var(--ink); }
.ig-emo .ax { font-size: 12px; font-weight: 500; fill: var(--faint); }

/* 댓글 */
.ig-cmts { display: grid; gap: 12px; }
.ig-cmt { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; background: var(--canvas); border-radius: 20px; padding: 14px 18px; box-shadow: 0 6px 18px rgba(0,30,80,.06); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--d), transform .6s cubic-bezier(.2,.7,.2,1) var(--d); }
.go .ig-cmt { opacity: 1; transform: none; }
.ig-cmt .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #d1d6db, #eef0f3); }
.ig-cmt .t { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4; word-break: break-word; }
.ig-cmt .m { margin-top: 6px; display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--sub); }
.ig-cmt .tag { font-weight: 700; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--key) 12%, transparent); color: var(--key); }
.ig-cmt.top .tag { background: var(--key); color: #fff; }

/* 콘티 */
.ig-conti { display: grid; gap: 10px; }
.ig-cb { background: var(--canvas); border-radius: 18px; padding: 16px 20px; box-shadow: 0 6px 18px rgba(0,30,80,.06); opacity: 0; transform: translateX(-24px); transition: opacity .5s var(--d), transform .6s cubic-bezier(.2,.7,.2,1) var(--d); }
.go .ig-cb { opacity: 1; transform: none; }
.ig-cb b { font-size: 13px; color: var(--key); letter-spacing: .02em; }
.ig-cb p { margin: 6px 0 0; font-size: 15px; color: var(--ink); line-height: 1.5; }
.ig-cb .ln { height: 7px; border-radius: 4px; background: var(--line); margin-top: 8px; }
.ig-remix { margin-top: 6px; padding: 16px 20px; border-radius: 18px; border: 2px solid var(--key); background: var(--canvas); font-size: 16px; color: var(--ink); opacity: 0; transition: opacity .5s 1.5s; }
.go .ig-remix { opacity: 1; }
.ig-remix .tagchip { display: inline-block; padding: 3px 10px; margin: 0 4px; border-radius: 8px; background: color-mix(in srgb, var(--key) 14%, transparent); color: var(--key); font-weight: 700; }
.ig-remix .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--key); vertical-align: -3px; animation: h-blink 1s steps(1) infinite; }
@keyframes h-blink { 50% { opacity: 0; } }

/* ── 대기열 ── */
.h-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.h-q-stage { position: relative; height: 560px; background: var(--stage); border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 40px; }
/* 왼쪽 피드는 9:16 숏폼 화면 — 가로 원본은 실제 릴스처럼 검은 바탕에 레터박스로 */
.h-q-feed { position: relative; height: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 22px; background: #000; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.h-q-slide { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .6s cubic-bezier(.65,0,.35,1); }
.h-q-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.h-q-slide .u { position: absolute; left: 14px; bottom: 16px; right: 44px; color: #fff; font-size: 12px; line-height: 1.45; }
.h-q-slide .u b { display: block; font-size: 13px; }
.h-q-slide .ic { position: absolute; right: 12px; bottom: 18px; display: grid; gap: 14px; }
.h-q-slide .ic i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); }
.h-q-list { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.h-q-row { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 12px 16px; background: var(--canvas); border-radius: 16px; box-shadow: 0 6px 18px rgba(0,30,80,.06); animation: h-in .5s cubic-bezier(.2,.7,.2,1) both; }
.h-q-row img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.h-q-row b { display: block; font-size: 15px; color: var(--ink); }
.h-q-row small { font-size: 13px; color: var(--sub); }
.h-q-row .pg { height: 6px; border-radius: 3px; background: var(--line); margin-top: 8px; overflow: hidden; }
.h-q-row .pg i { display: block; height: 100%; width: 0; background: var(--key); border-radius: 3px; transition: width 1.4s linear; }
.h-q-row.done small { color: #00a661; font-weight: 700; }
@keyframes h-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }

/* ── 측정 ── */
.h-measure { text-align: center; }
.h-measure .h-p { margin-left: auto; margin-right: auto; }
.h-m-stage { margin: 72px auto 0; max-width: 1080px; background: var(--stage); border-radius: 32px; padding: 56px 48px 40px; }
.h-m-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-m-stats div { background: var(--canvas); border-radius: 20px; padding: 26px 12px; }
.h-m-stats b { display: block; font-size: 48px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.h-m-stats .on b { color: var(--key); }
.h-m-stats span { font-size: 14px; color: var(--sub); font-weight: 600; }
.h-m-strip { position: relative; display: flex; height: 64px; margin-top: 40px; border-radius: 12px; overflow: hidden; }
.h-m-strip i { height: 100%; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--d); box-shadow: inset -2px 0 0 var(--stage); }
.h-m-strip.go i { transform: none; }
.h-m-strip u { position: absolute; top: -6px; bottom: -6px; width: 1px; background: rgba(0,0,0,.18); opacity: 0; transition: opacity .3s var(--d); }
.h-m-strip.go u { opacity: 1; }
.h-m-cap { margin: 14px 0 0; font-size: 13px; color: var(--faint); }

/* 요금 영역 보정 */
.home .pricing .h-h2, .home .pricing .h-p { text-align: center; margin-left: auto; margin-right: auto; }
.home .pricing .h-p { margin-bottom: 56px; }
.home .pricing, .home .faq, .home .install { font-family: inherit; }

/* ── 모바일: 고정 스크롤을 풀고 세로로 펼친다 ── */
@media (max-width: 900px) {
  .h-sec { padding: 100px 0; }
  .h-state { padding: 120px 20px; }
  .h-hero-frame { border-radius: 24px; min-height: 520px; height: 80vh; }
  .h-hero-copy { bottom: 40px; }
  .h-pf-stage { height: 460px; }
  .h-bm { top: 40px; height: 330px; max-width: 88%; }
  .c1 { left: 4px; top: 330px; } .c2 { right: 4px; top: 380px; } .c3 { display: none; }
  .h-feat { height: auto; padding: 100px 0; }
  .h-feat-pin { position: static; height: auto; display: block; }
  .h-feat-grid { display: block; }
  .h-f { display: block; margin-top: 56px; }
  .h-f-copy { border: 0; padding: 0 0 18px; cursor: default; }
  .h-f-copy h3 { color: var(--ink); font-size: 24px; }
  .h-f-copy p { max-height: none; opacity: 1; margin-top: 8px; }
  .h-f-ig { opacity: 1; transform: none; height: 520px; pointer-events: auto; }
  .ig { padding: 52px 22px 24px; }
  .ig-score-n { font-size: 72px; }
  .h-split { grid-template-columns: 1fr; gap: 48px; }
  .h-q-stage { grid-template-columns: auto 1fr; height: 420px; padding: 22px; gap: 14px; }
  .h-m-stage { padding: 32px 18px 28px; }
  .h-m-stats { grid-template-columns: repeat(2, 1fr); }
  .h-m-stats b { font-size: 36px; }
}

/* 움직임 줄이기 — 완성된 정지 화면 */
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .h-hero-title .w { opacity: 1; transform: none; filter: none; } .h-hero-cta { opacity: 1; }
  .h-state-t span { opacity: 1; }
}

/* 너비 통일 — 헤더·본문·푸터 모두 1200px(읽기용 좁은 칸 .narrow 만 예외) */
body:has(.home) .wrap:not(.narrow) { max-width: 1200px; }
.home .h-f-ig { height: min(72vh, 640px); }

/* 대기열: 9:16 피드 높이를 줄여 목록 제목이 한 줄에 들어오게 */
.h-q-stage { align-items: center; grid-template-columns: auto minmax(220px, 1fr); }
.h-q-feed { height: 420px; }
@media (max-width: 900px) {
  .h-q-stage { height: auto; grid-template-columns: auto minmax(0, 1fr); padding: 18px; gap: 12px; }
  .h-q-feed { height: 300px; }
  .h-q-row { grid-template-columns: 36px 1fr; gap: 10px; padding: 10px 12px; }
  .h-q-row img { width: 36px; height: 36px; }
  .h-q-row b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.h-q-list, .h-q-row > div { min-width: 0; }
@media (max-width: 900px) { .h-q-feed { height: 260px; } }

/* 지원 플랫폼 — 모노톤 아이콘 줄 */
.h-mono { list-style: none; display: flex; justify-content: center; gap: 40px; margin: 36px 0 0; padding: 0; transition-delay: .25s; }
.h-mono li { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--sub); }
.h-mono svg { width: 26px; height: 26px; color: var(--ink); }
@media (max-width: 900px) { .h-mono { gap: 22px; } .h-mono li { font-size: 15px; } .h-mono svg { width: 22px; height: 22px; } }

/* ── 카드 마퀴 — 사진 카드와 마이크로 타이포 카드가 세로 기둥으로 흐른다(토스 '일상' 벽 구조 참고) ── */
.h-wall { position: relative; padding: 0 0 140px; overflow: hidden; }
.h-wall-stage { --cw: 288px; --gap: 22px; height: 780px; display: flex; justify-content: center; gap: var(--gap);
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 10%, #000 46%, transparent 84%), linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask: linear-gradient(180deg, transparent 0, #000 10%, #000 46%, transparent 84%), linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-composite: intersect; }
.h-wall-col { flex: 0 0 var(--cw); display: flex; flex-direction: column; gap: var(--gap); animation: h-wall var(--sp, 60s) linear var(--dl, 0s) infinite; will-change: transform; }
.h-wall-col.dn { animation-direction: reverse; }
.h-wall.off .h-wall-col, .h-wall-stage:hover .h-wall-col { animation-play-state: paused; }
@keyframes h-wall { to { transform: translateY(calc(-50% - var(--gap) / 2)); } }
.h-wall-copy { position: relative; margin-top: -130px; }
.h-wall-copy .h-p { font-size: clamp(16px, 1.3vw, 18px); color: var(--sub); }

/* 카드 공통 */
.wc { flex: none; border-radius: 34px; overflow: hidden; position: relative; }
.wc.ph { aspect-ratio: 1; background: var(--stage); }
.wc.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wc.mc { padding: 28px 30px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; color: var(--ink);
  background: linear-gradient(160deg, var(--t1), var(--t2)); }
.t-blue { --t1: #eef4ff; --t2: #f4f1ff; } .t-peach { --t1: #fff4ee; --t2: #f6f0fb; } .t-mint { --t1: #ecf7f3; --t2: #eef3fd; } .t-lilac { --t1: #f4efff; --t2: #fbf3f8; } .t-gray { --t1: #f4f6f8; --t2: #eef1f5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wc.mc { --t1: #1f2330; --t2: #221f2e; } }
:root[data-theme="dark"] .wc.mc { --t1: #1f2330; --t2: #221f2e; }
.wc.mc.tall { min-height: 230px; }

/* 마이크로 타이포 */
.mk { font-size: 14px; font-weight: 500; color: var(--sub); letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; }
.mk svg { width: 18px; height: 18px; color: var(--ink); }
.mn { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.mn small { font-size: 18px; font-weight: 500; color: var(--faint); margin-left: 4px; letter-spacing: -0.01em; }
.mn .f { color: var(--faint); }
.mi { margin-bottom: auto; color: var(--ink); }
.mi svg { width: 26px; height: 26px; }
/* 경로형(ICN→SFO 꼴) */
.m-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.m-route b { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.m-route i { position: relative; height: 0; border-top: 2px dotted var(--faint); }
.m-route i::after { content: ""; position: absolute; left: 50%; top: -8px; margin-left: -7px; border-left: 14px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.m-route + .m-sub { display: flex; justify-content: space-between; font-size: 13px; color: var(--sub); margin-top: 2px; }
/* 키캡 */
.m-keys { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--faint); }
.m-keys kbd { font: 600 16px/1 inherit; font-family: inherit; color: var(--ink); background: var(--canvas); padding: 9px 12px; border-radius: 10px; box-shadow: 0 2px 0 var(--line), 0 0 0 1px var(--line); }
/* 박자 막대 */
.m-beat { display: flex; align-items: flex-end; gap: 3px; height: 28px; margin-top: 10px; }
.m-beat i { flex: 1; border-radius: 2px; background: var(--faint); opacity: .5; height: 30%; animation: h-beat .556s ease-in-out var(--d) infinite alternate; }
@keyframes h-beat { to { height: 100%; opacity: .9; } }
/* 샷 띠·진행 막대 */
.m-strip { display: flex; height: 22px; border-radius: 6px; overflow: hidden; margin-top: 10px; }
.m-strip i { height: 100%; box-shadow: inset -1.5px 0 0 color-mix(in srgb, var(--t1) 70%, transparent); }
.m-pg { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--faint) 35%, transparent); margin-top: 12px; overflow: hidden; }
.m-pg i { display: block; height: 100%; width: 60%; border-radius: 3px; background: var(--key); animation: h-pg 4s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes h-pg { 0% { width: 8%; } 80%, 100% { width: 100%; } }
/* 칩·말풍선·아이콘 줄 */
.m-chip { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--canvas); color: var(--key); margin-bottom: 6px; }
.m-bubble { align-self: flex-start; font-size: 15px; font-weight: 600; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--canvas); box-shadow: 0 4px 14px rgba(0,30,80,.06); margin-bottom: 10px; }
.m-icons { display: flex; gap: 14px; margin-bottom: auto; color: var(--ink); }
.m-icons svg { width: 26px; height: 26px; }
.m-ln { height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--faint) 40%, transparent); margin-top: 8px; }

@media (max-width: 900px) {
  .h-wall { padding-bottom: 90px; }
  .h-wall-stage { --cw: 190px; --gap: 14px; height: 600px; }
  .h-wall-copy { margin-top: -96px; }
  .wc { border-radius: 24px; } .wc.mc { padding: 18px 18px; min-height: 120px; } .wc.mc.tall { min-height: 170px; }
  .mn { font-size: 24px; } .mn small { font-size: 14px; } .m-route b { font-size: 22px; } .mk { font-size: 12px; }
  .m-keys kbd { font-size: 13px; padding: 7px 9px; }
}
@media (prefers-reduced-motion: reduce) { .h-wall-col { animation: none; } }

/* ── 시작하기 세 단계 ── */
.h-st-list { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h-st { background: var(--stage); border-radius: 32px; padding: 28px 28px 32px; }
.h-st:nth-child(2) { transition-delay: .1s; } .h-st:nth-child(3) { transition-delay: .2s; }
.h-st h3 { margin: 6px 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.h-st p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--sub); }
.h-st-ig { height: 200px; margin-bottom: 26px; border-radius: 22px; background: var(--canvas); display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 20px; overflow: hidden; }
.st-bar { display: flex; align-items: center; gap: 6px; } .st-bar > i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.st-url { flex: 1; margin-left: 6px; font-size: 11px; color: var(--faint); background: var(--stage); border-radius: 10px; padding: 5px 10px; }
.st-add { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.st-add img { border-radius: 10px; } .st-add b, .st-acct b { display: block; font-size: 15px; color: var(--ink); } .st-add small, .st-acct small { font-size: 12px; color: var(--sub); }
.st-btn { font-size: 13px; font-weight: 700; color: #fff; background: var(--key); padding: 9px 14px; border-radius: 10px; white-space: nowrap; }
.st-acct { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); color: #00a661; }
.st-acct .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #c9d6ff, #f1d9f7); }
.st-cred { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; font-size: 13px; color: var(--sub); }
.st-cred b { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; } .st-cred small { font-size: 14px; color: var(--faint); font-weight: 500; }
.st-keys { justify-content: center; font-size: 18px; } .st-keys kbd { font-size: 18px; padding: 12px 16px; border-radius: 12px; }
.st-run { position: relative; text-align: center; font-size: 13px; font-weight: 700; color: var(--key); padding: 11px; border-radius: 12px; background: color-mix(in srgb, var(--key) 10%, transparent); overflow: hidden; }
.st-run i { position: absolute; left: 0; bottom: 0; height: 3px; width: 40%; background: var(--key); animation: h-pg 3.2s cubic-bezier(.4,0,.2,1) infinite; }

/* ── 안심 ── */
.h-tr-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.h-tr { padding: 30px 28px 32px; border-radius: 28px; background: var(--stage); }
.h-tr:nth-child(3n+2) { transition-delay: .08s; } .h-tr:nth-child(3n) { transition-delay: .16s; }
.h-tr-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--canvas); display: grid; place-items: center; margin-bottom: 22px; color: var(--key); }
.h-tr-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h-tr h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.h-tr p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sub); }

/* ── 이런 분들이 써요 — 안심 카드와 같은 문법, 2열 ── */
.h-who-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.h-who-card { display: flex; flex-direction: column; padding: 32px 30px 30px; border-radius: 28px; background: var(--stage); }
.h-who-card:nth-child(2n) { transition-delay: .08s; }
.h-who-role { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--canvas); color: var(--key); font-size: 14px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 22px; }
.h-who-role svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.h-who-card h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
.h-who-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--sub); }
.h-who-tags { list-style: none; margin: auto 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.h-who-tags li { padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--sub); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 720px) {
  .h-who-grid { grid-template-columns: 1fr; margin-top: 44px; gap: 14px; }
  .h-who-card { padding: 26px 22px 24px; }
  .h-who-card h3 { font-size: 20px; }
}

/* ── 요금제 ── */
.home .pricing { background: transparent; text-align: center; }
.home .pricing .h-eyebrow { text-align: center; }
.home .plans { gap: 16px; text-align: left; }
/* 카드 5장(무료 · 라이트 · 베이직 · 플러스 · 프로, 2026-11-25) — 넓으면 한 줄, 중간 폭은 3 + 2 */
@media (min-width: 1181px) { .home .plans { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } .home .plan { padding: 28px 22px 30px; } .home .plan .price b { font-size: 28px; } }
@media (min-width: 961px) and (max-width: 1180px) { .home .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home .plan { position: relative; border-radius: 28px; padding: 30px 28px 32px; background: var(--stage); box-shadow: none; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.home .plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,30,80,.08); }
.home .plan.free { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.home .plan:first-child, .home .plan:nth-child(2) { box-shadow: none; }
.home .plan.free:first-child { box-shadow: inset 0 0 0 1px var(--line); }
.home .plan.featured { background: var(--canvas); box-shadow: inset 0 0 0 2px var(--key), 0 18px 40px rgba(0,30,80,.08); }
.home .plan.featured::before { content: "추천"; position: absolute; right: 22px; top: 26px; font-size: 12px; font-weight: 700; color: #fff; background: var(--key); padding: 5px 10px; border-radius: 999px; }
.home .plan h3 { font-size: 15px; font-weight: 600; color: var(--sub); margin: 0 0 10px; }
.home .plan .price { margin: 0; font-size: 15px; color: var(--faint); }
.home .plan .price b { font-size: 32px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.home .plan .credits { margin: 6px 0 22px; font-size: 15px; font-weight: 700; color: var(--key); }
.home .plan ul { gap: 8px; font-size: 15px; color: var(--sub); border-top: 1px solid var(--line); padding-top: 18px; }
.home .plan-note-site { margin-top: 32px; font-size: 15px; }
.h-pr-notes { max-width: 860px !important; margin: 28px auto 0 !important; text-align: left; padding: 24px 28px 24px 44px !important; border-radius: 24px; background: var(--stage); font-size: 14px !important; line-height: 1.6; }

/* ── 자주 묻는 질문 ── */
.h-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 72px; align-items: start; }
.h-faq-head { position: sticky; top: 100px; }
.h-faq-head .h-p { font-size: 16px; } .h-faq-head .h-p a { color: var(--key); font-weight: 600; }
.home .h-faq h2.h-h2 { margin: 0; }
.h-faq-list details { border-bottom: 1px solid var(--line); }
.h-faq-list details:first-child { border-top: 1px solid var(--line); }
.h-faq-list summary { padding: 24px 40px 24px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); transition: color .2s; }
.h-faq-list summary:hover { color: var(--key); }
.h-faq-list summary::after { content: ""; top: 50%; right: 8px; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .3s, border-color .2s; }
.h-faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--key); }
.h-faq-list details > p { margin: 0; padding: 0 40px 26px 0; font-size: 16px; line-height: 1.7; color: var(--sub); }
.h-faq-list details[open] > p { animation: h-in .4s cubic-bezier(.2,.7,.2,1); }

/* ── 마지막 CTA ── */
.h-cta { padding: 40px 0 120px; }
.h-cta-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 40px; color: #fff; text-align: center; padding: 120px 24px 110px;
  /* sunra 홈 카드 방식 — 네 모서리 원형 그라디언트를 0→100% 길게 겹치고 OKLCH 로 지정(섞이는 중간이 탁해지지 않는다).
     블루가 주인공: 왼쪽 위 밝은 남청 · 오른쪽 위 오렌지 포인트 · 왼쪽 아래 블루 · 오른쪽 아래 짙은 남청, 바탕 블루 */
  background:
    radial-gradient(55% 63% at 10% 5%, oklch(0.76 0.1 268) 0%, transparent 100%),
    radial-gradient(50% 58% at 88% 12%, oklch(0.7 0.17 50) 0%, transparent 100%),
    radial-gradient(55% 63% at 8% 95%, oklch(0.56 0.16 270) 0%, transparent 100%),
    radial-gradient(65% 75% at 82% 96%, oklch(0.29 0.12 268) 0%, transparent 100%),
    oklch(0.47 0.16 268); }
/* 아주 옅게 흐르는 빛 — 정지된 그라디언트에 숨결만(오렌지 · 밝은 블루 한 점씩) */
.h-cta-card::before { content: ""; position: absolute; inset: -20%; z-index: -2; pointer-events: none; opacity: .5;
  background: radial-gradient(28% 26% at 64% 30%, oklch(0.74 0.16 55 / .45), transparent 70%), radial-gradient(30% 28% at 34% 62%, oklch(0.72 0.12 262 / .4), transparent 70%);
  filter: blur(40px); animation: h-cta-drift 24s ease-in-out infinite alternate; }
@keyframes h-cta-drift { 0% { transform: translate(-4%, -2%) scale(1); } 50% { transform: translate(3%, 3%) scale(1.08); } 100% { transform: translate(5%, -3%) scale(.95); } }
/* 노이즈 — 무채색 · 대비를 올린 고운 입자를 오버레이로 65%(sunra 와 같은 값) */
.h-cta-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .65; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2' intercept='-0.5'/%3E%3CfeFuncG type='linear' slope='2' intercept='-0.5'/%3E%3CfeFuncB type='linear' slope='2' intercept='-0.5'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px; }
.h-cta-card .h-h2 { color: #fff; text-shadow: 0 1px 24px rgba(10, 30, 120, .3); }
.h-cta-micro { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.8); }
.h-cta-btn { margin-top: 40px; background: #fff; color: oklch(0.4 0.16 268); box-shadow: 0 10px 30px rgba(10, 18, 50, .3); }
.h-cta-btn:hover { background: oklch(0.97 0.02 60); color: oklch(0.4 0.16 268); }
.h-cta-keys { justify-content: center; margin-top: 22px; color: rgba(255,255,255,.75); }
.h-cta-keys kbd { background: rgba(255,255,255,.16); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
/* 떠 있는 수치 카드 — 반투명 유리 */
.h-cta-card .wc.h-cta-f { position: absolute; width: 230px; min-height: 0; color: #fff; background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 24px 50px rgba(10, 25, 100, .3); }
.h-cta-f .mk { color: rgba(255,255,255,.75); } .h-cta-f .mn small { color: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: reduce) { .h-cta-card::before { animation: none; } }
.h-cta-f.f1 { left: 6%; top: 18%; transform: rotate(-6deg); } .h-cta-f.f2 { right: 6%; bottom: 16%; transform: rotate(5deg); }

/* ── 푸터 ── */
.h-foot { border-top: 1px solid var(--line, #e5e8eb); padding: 56px 0 64px; font-size: 13px; }
.h-foot-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 36px; }
.h-foot-top .brand { align-self: flex-start; color: var(--ink); }
.h-foot-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 72px; }
.h-foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.h-foot-cols b { font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.h-foot-cols a { color: var(--muted); font-size: 14px; } .h-foot-cols a:hover { color: var(--ink); }
.h-foot-biz { border-top: 1px solid var(--line, #e5e8eb); padding-top: 28px; }
.h-foot-biz p { margin: 0; line-height: 1.8; } .h-foot-biz .fine { margin-top: 10px; }

@media (max-width: 900px) {
  .h-st-list, .h-tr-grid { grid-template-columns: 1fr; margin-top: 44px; gap: 14px; }
  .h-st-ig { height: 170px; }
  .h-faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .h-faq-head { position: static; }
  .h-faq-list summary { font-size: 16px; padding: 20px 32px 20px 0; }
  .h-cta { padding-bottom: 80px; }
  .h-cta-card { border-radius: 28px; padding: 80px 20px 72px; }
  .h-cta-f { display: none; }
  .h-foot-top { flex-direction: column; }
  .h-foot-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ── 그라디언트 무대 — 마지막 카드와 같은 방식(네 모서리 OKLCH 원형 그라디언트 + 무채색 노이즈 오버레이), 색 조합 4가지 ── */
/* position: relative — 노이즈(::after, 꽉 채움)가 자기 칸 안에 깔리게. 빠지면 페이지 첫 화면(히어로)을 덮는다 */
.g-mesh { position: relative; isolation: isolate; background:
    radial-gradient(55% 63% at 10% 5%, var(--g1) 0%, transparent 100%),
    radial-gradient(50% 58% at 88% 12%, var(--g2) 0%, transparent 100%),
    radial-gradient(55% 63% at 8% 95%, var(--g3) 0%, transparent 100%),
    radial-gradient(65% 75% at 82% 96%, var(--g4) 0%, transparent 100%),
    var(--g0) !important; }
.g-mesh::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: .55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2' intercept='-0.5'/%3E%3CfeFuncG type='linear' slope='2' intercept='-0.5'/%3E%3CfeFuncB type='linear' slope='2' intercept='-0.5'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px; }
.g-a { --g1: oklch(0.76 0.1 268); --g2: oklch(0.7 0.17 50); --g3: oklch(0.56 0.16 270); --g4: oklch(0.29 0.12 268); --g0: oklch(0.47 0.16 268); }   /* 블루 + 오렌지 */
.g-b { --g1: oklch(0.74 0.1 285); --g2: oklch(0.52 0.17 300); --g3: oklch(0.55 0.14 295); --g4: oklch(0.3 0.13 275); --g0: oklch(0.46 0.15 283); }  /* 바이올렛 + 마젠타 */
.g-c { --g1: oklch(0.82 0.09 190); --g2: oklch(0.6 0.13 225); --g3: oklch(0.56 0.11 200); --g4: oklch(0.3 0.09 245); --g0: oklch(0.48 0.11 222); }  /* 틸 + 블루 */
.g-d { --g1: oklch(0.83 0.08 35); --g2: oklch(0.67 0.15 20); --g3: oklch(0.63 0.12 320); --g4: oklch(0.36 0.12 300); --g0: oklch(0.55 0.13 345); }  /* 코랄 + 라일락 */
/* 무대에 바로 놓인 글씨는 흰색으로 — 흰 카드 안 글씨는 그대로 */
.g-mesh > .ig > .ig-k, .g-mesh .h-m-cap { color: rgba(255, 255, 255, .86); }
.g-mesh .ig-shot { background: transparent; }

/* ── 무대 위 UI 는 모노톤 — 강조색(파랑 · 주황 · 초록)을 검정 · 회색 단계로. 다크 모드는 글자색 변수로 뒤집힌다 ── */
.g-mesh { --key: var(--ink); }
.g-mesh .ig-bar.weak i::after { background: color-mix(in srgb, var(--ink) 45%, transparent); }
.g-mesh .ig-note b { color: var(--ink); }
.g-mesh .ig-chip { box-shadow: inset 0 0 0 1.5px var(--ink); }
.g-mesh .ig-chip small, .g-mesh .ig-beat b, .g-mesh .ig-cb b { color: var(--sub); }
.g-mesh .ig-cmt .tag { background: var(--stage); color: var(--sub); }
.g-mesh .ig-cmt.top .tag { background: var(--ink); color: var(--canvas); }
.g-mesh .ig-remix { border-color: var(--line); }
.g-mesh .ig-remix .tagchip { background: var(--stage); color: var(--ink); }
.g-mesh .ig-emo .area { fill: var(--ink); }
.g-mesh .h-bm-btn { color: var(--canvas); }
.g-mesh .h-bm-card span { opacity: .55; }
.g-mesh .h-q-row.done small { color: var(--ink); }
.g-mesh .pf-ico path { fill: currentColor; }   /* 플랫폼 아이콘도 단색 */

/* ── 디테일 다듬기 ── */
/* 훅 슬라이더 — 위 여백을 줄이고, 양끝 라벨이 카드 밖으로 밀리지 않게 좌우 여유 */
.ig-tl { height: 112px; margin: 14px 30px 0; }
.ig-tl-mark { top: 12px; font-size: 13px; }
.ig-tl-axis, .ig-tl-span { top: 46px; height: 4px; }
.ig-tl-mark::after { width: 14px; height: 14px; margin-top: 9px; border-width: 3px; box-shadow: 0 0 0 4px var(--canvas); }
.ig-tl-ticks { top: 70px; }
.ig-beats { margin-top: 6px; }
/* 댓글 아바타 — 빈 회색 원 대신 이니셜(계정은 저장하지 않아 A·B·C·D) */
.ig-cmt .av { display: grid; place-items: center; font-size: 15px; font-weight: 700; color: var(--sub); background: var(--stage); }
.ig-cmt.top .av { background: var(--ink); color: var(--canvas); }
/* 컷 띠 — 구분선을 배경색이 아니라 반투명 흰 선으로(그라디언트 위에서 줄무늬처럼 튀지 않게) */
.g-mesh .h-m-strip { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.g-mesh .h-m-strip i { box-shadow: inset -1px 0 0 rgba(255, 255, 255, .35); }
.g-mesh .h-m-strip u { background: rgba(255, 255, 255, .7); }

/* ── 전체 폴리싱 ── */
/* 한국어 줄바꿈 — 단어 중간에서 끊지 않고, 마지막 줄에 글자 한두 개만 남지 않게 */
.home p, .home li, .home h2, .home h3, .home summary, .foot p { word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
.home .h-h2 { text-wrap: balance; }
/* 3단계 그림 — 진행선을 상자 테두리처럼 보이지 않게, 글자 아래 둥근 막대로 */
.st-run { display: grid; gap: 9px; padding: 13px 16px 14px; }
.st-run i { position: static; display: block; height: 4px; width: 100%; border-radius: 2px; background: color-mix(in srgb, var(--key) 18%, transparent); overflow: hidden; animation: none; }
.st-run i::after { content: ""; display: block; height: 100%; width: 40%; border-radius: 2px; background: var(--key); animation: h-pg 3.2s cubic-bezier(.4,0,.2,1) infinite; }
@media (max-width: 900px) {
  /* 마지막 카드의 떠 있는 수치 카드 — 모바일에선 제목·버튼을 덮으니 숨긴다(.wc 의 display 가 이기던 문제) */
  .h-cta-card .wc.h-cta-f { display: none; }
}

/* 2026-10-27 폴리싱 — 큰 숫자는 로고타입과 같은 Inter Display(라틴만 있어 한글은 Pretendard 로 떨어진다) */
.home { --display: "Inter", "Pretendard Variable", Pretendard, sans-serif; }
.ig-score-n, .h-m-stats b, .mn, .m-route b, .st-cred b, .home .plan .price b { font-family: var(--display); font-variation-settings: "opsz" 32; font-feature-settings: "tnum"; }
/* 영문판 제목도 같은 서체 — 한글판 제목은 Pretendard 그대로 */
html[lang="en"] .h-hero-title, html[lang="en"] .h-h2, html[lang="en"] .h-state-t { font-family: var(--display); font-variation-settings: "opsz" 32; font-weight: 750; letter-spacing: -0.04em; }
/* 섹션 리듬 — 연속 섹션 사이가 320px(모바일 200px)이라 화면 하나가 통째로 비는 구간이 생겼다 */
.h-sec { padding: 128px 0; }
.h-state { padding: 168px 24px; }
@media (max-width: 900px) {
  .h-sec { padding: 72px 0; }
  .h-state { padding: 96px 20px; }
  .h-feat { padding: 72px 0; }
  .h-wall { padding-bottom: 64px; }
}
html[lang="en"] .home .plan.featured::before { content: "Popular"; }
