/*
 * 프로그램연구소 — 첫 화면 아래 섹션들
 *   이런 순간(말풍선) · 장면 재생기 · 종류별 문제 · 숨은 비용 · 체험 갤러리 · 비교 · 비용 · 진행 · 후기 · 질문 · 마지막 안내 · 체험 창
 */

/* ══ 이런 순간 (홈페이지연구소식 파란 장면) ══ */
.voices { position: relative; overflow: hidden; padding: 110px 0 120px; color: #fff; background: radial-gradient(80% 70% at 85% 10%, #5B74FF 0%, transparent 60%), radial-gradient(60% 60% at 0% 100%, #2236C9 0%, transparent 70%), #2F49F0; }
.voices::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000, transparent 90%); mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000, transparent 90%); pointer-events: none; }
.voices-hud { position: absolute; top: 28px; left: 24px; right: 24px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .78); }
.voices-hud b { font-weight: 700; color: #fff; }
.voices-hud i { font-style: normal; padding-left: 10px; margin-left: 8px; border-left: 1px solid rgba(255, 255, 255, .35); }
.voices-hud span:last-child { display: inline-flex; align-items: center; gap: 8px; }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #FF5B4F; animation: blink 1.6s infinite; }
.voices-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.kicker.on-blue { color: #fff; }
.voices h2 { color: #fff; }
.voices-copy > p:not(.kicker) { margin-top: 18px; max-width: 30em; font-size: 17.5px; color: rgba(255, 255, 255, .86); }
.voices-list { display: flex; flex-direction: column; gap: 12px; }
.voice { align-self: flex-start; max-width: 92%; padding: 15px 22px; border-radius: 24px 24px 24px 6px; background: #fff; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.5; box-shadow: 0 18px 40px -20px rgba(10, 14, 60, .65); }
.voice b { font-weight: 800; color: var(--brand-dk); }
.voice.is-dark { align-self: flex-end; border-radius: 24px 24px 6px 24px; background: #0A0C1A; color: #fff; }
.voice.is-dark b { color: #A8B8FF; }
.js .voice { opacity: 0; transform: translateY(18px) scale(.97); }
.js .voice.is-in, .js.reveal-all .voice { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0s); }

/* ══ 직접 만들 때 생기는 일 (6장면을 한 화면에) ══ */
.story { position: relative; padding: 120px 0 130px; background: var(--n1); color: var(--on); overflow: hidden; }
.story::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--nl) 1px, transparent 1px), linear-gradient(90deg, var(--nl) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000, transparent 85%); mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000, transparent 85%); opacity: .5; pointer-events: none; }
.story-head { position: relative; max-width: 1200px; margin-bottom: 52px; }
.story-head .kicker { color: var(--hi); }
.story-head > p:not(.kicker) { margin-top: 18px; max-width: 40em; font-size: 17.5px; color: var(--on2); }

.scene-when { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 13px; border-radius: 99px; background: rgba(157, 176, 255, .13); border: 1px solid rgba(157, 176, 255, .34); font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #C3CEFF; }

.dlog { position: relative; display: grid; gap: 16px; }
.dlog-card { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: linear-gradient(180deg, rgba(22, 28, 58, .92), rgba(10, 13, 30, .96)); border: 1px solid var(--nl2); overflow: hidden; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .9); }
.dlog-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 250px; padding: 26px 18px; background: radial-gradient(90% 80% at 50% 0%, rgba(61, 87, 245, .18), transparent 70%); border-bottom: 1px solid var(--nl); }
.dlog-art .mk, .dlog-art .mk-term { font-size: 13px; }
.dlog-copy { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 26px; }
.dlog-copy h3 { margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2.1vw, 25px); line-height: 1.3; letter-spacing: -0.035em; color: #fff; }
.dlog-copy p:not(.scene-when) { margin-top: 10px; font-size: 15.5px; line-height: 1.7; color: var(--on2); }
.dlog-copy p b { color: #fff; font-weight: 700; }
.dlog-copy .btn { align-self: flex-start; margin-top: auto; }
.dlog-copy p + .btn { margin-top: 20px; }
.dlog-end { background: linear-gradient(160deg, rgba(61, 87, 245, .38), rgba(12, 16, 36, .96) 58%); border-color: rgba(157, 176, 255, .55); }
.dlog-end .scene-when { background: rgba(61, 220, 151, .14); border-color: rgba(61, 220, 151, .45); color: #8FF5C8; }

/* 장면 속 모형 — 카드가 화면에 들어오면 차례로 나타납니다 */
.mk { width: 100%; max-width: 470px; font-size: 14px; line-height: 1.5; }
.js .dlog-card.is-in .a1 { animation: pop .5s .35s var(--ease) both; }
.js .dlog-card.is-in .a2 { animation: pop .5s .85s var(--ease) both; }
.js .dlog-card.is-in .a3 { animation: pop .5s 1.35s var(--ease) both; }
.js .dlog-card.is-in .a4 { animation: pop .5s 1.85s var(--ease) both; }
.js .dlog-card.is-in .a5 { animation: pop .5s 2.35s var(--ease) both; }
.mk-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid var(--nl); font-family: var(--mono); font-size: 12px; color: var(--on3); }
.mk-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(170, 180, 230, .35); }
.mk-bar span { margin-left: 8px; }
.mk-chat, .mk-code-win { border-radius: 18px; background: rgba(4, 5, 12, .66); border: 1px solid var(--nl2); overflow: hidden; box-shadow: 0 30px 60px -30px #000; }
.mk-chat-body { display: grid; gap: 12px; padding: 16px; }
.mk-me { justify-self: end; max-width: 86%; padding: 10px 15px; border-radius: 17px 17px 5px 17px; background: var(--brand); color: #fff; font-weight: 600; }
.mk-wow { background: rgba(255, 255, 255, .14); }
.mk-ai { display: flex; gap: 10px; align-items: flex-start; color: var(--on); }
.mk-dot { flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--grad-dark); }
.mk-ai-body { min-width: 0; flex: 1; }
.mk-code { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--nl); font-family: var(--mono); font-size: 11.5px; line-height: 1.65; color: #C9D2F5; white-space: pre-wrap; overflow: hidden; }
.mk-code .k { color: #C1A6FF; }
.mk-code .f { color: #6BE9FF; }
.mk-code .c { color: #7E88B4; }
.mk-preview { margin-top: 10px; width: 210px; padding: 12px; border-radius: 12px; background: #fff; display: grid; gap: 7px; }
.mk-preview b { height: 38px; border-radius: 8px; background: linear-gradient(120deg, #3D57F5, #A5B4FF); }
.mk-preview span { height: 6px; border-radius: 3px; background: #E3E6F0; }
.mk-preview span:nth-of-type(2) { width: 60%; }
.mk-preview em { justify-self: start; padding: 4px 11px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; }

.mk-devices { display: flex; align-items: center; justify-content: center; gap: 8px; }
.mk-laptop, .mk-phone { position: relative; border-radius: 15px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 24px 50px -24px #000; }
.mk-laptop { width: 52%; padding-bottom: 12px; }
.mk-phone { flex: none; width: 38%; padding-bottom: 12px; }
.mk-url { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #F1F3F9; font-family: var(--mono); font-size: 10.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; }
.mk-url i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.mk-phone .mk-url { gap: 5px; padding-inline: 8px; font-size: 9.5px; letter-spacing: -0.02em; }
.mk-url .ok, .mk-tag.ok { background: #0B9E6C; }
.mk-url .bad, .mk-tag.bad { background: var(--seal); }
.mk-page { padding: 12px 12px 6px; display: grid; gap: 6px; }
.mk-page b { height: 44px; border-radius: 8px; background: linear-gradient(120deg, #3D57F5, #A5B4FF); }
.mk-page span { height: 6px; border-radius: 3px; background: #E3E6F0; }
.mk-page span:nth-of-type(2) { width: 55%; }
.mk-page em { justify-self: start; padding: 4px 10px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; }
.mk-dead { padding: 16px 10px 8px; display: grid; justify-items: center; gap: 4px; text-align: center; }
.mk-dead svg { width: 30px; height: 30px; color: var(--seal); }
.mk-dead b { font-size: 12.5px; line-height: 1.35; text-wrap: balance; }
.mk-dead span { font-family: var(--mono); font-size: 8.5px; color: var(--ink3); overflow-wrap: anywhere; }
.mk-tag { display: table; margin: 8px auto 0; padding: 2px 10px; border-radius: 99px; color: #fff; font-size: 11px; font-weight: 700; }
.mk-wire { display: flex; gap: 4px; flex: none; }
.mk-wire i { width: 6px; height: 6px; border-radius: 50%; background: #FF8F86; animation: blink 1.2s infinite; }
.mk-wire i:nth-child(2) { animation-delay: .2s; }
.mk-wire i:nth-child(3) { animation-delay: .4s; }
.mk-term { width: 100%; max-width: 470px; padding: 10px 14px; border-radius: 12px; background: rgba(4, 5, 12, .7); border: 1px solid var(--nl2); font-family: var(--mono); font-size: 12px; line-height: 1.6; color: #C9D2F5; }
.mk-term span { color: #34D399; margin-right: 6px; }

.mk-errs { margin-left: auto; padding: 2px 10px; border-radius: 99px; background: var(--seal); color: #fff; font-family: var(--font); font-size: 12px; }
.mk-lines { counter-reset: ln; padding: 14px 16px 4px; display: grid; gap: 8px; }
.mk-lines li { counter-increment: ln; display: flex; align-items: center; gap: 12px; }
.mk-lines li::before { content: counter(ln); width: 16px; font-family: var(--mono); font-size: 11px; color: rgba(170, 180, 230, .5); text-align: right; }
.mk-lines span { height: 7px; border-radius: 4px; background: rgba(170, 180, 230, .26); }
.mk-lines .err span { background: #FF6B60; box-shadow: 0 0 14px rgba(255, 107, 96, .6); }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w55 { width: 55%; } .w65 { width: 65%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; }
.mk-stack { margin: 12px 16px 0; padding: 9px 12px; border-radius: 9px; background: rgba(255, 107, 96, .12); font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: #FFA69E; word-break: break-all; }
.mk-fix { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 6px; }
.mk-fix span { padding: 6px 12px; border-radius: 14px 14px 4px 14px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 600; }
.mk-count { padding: 0 16px 14px; font-family: var(--mono); font-size: 12px; color: var(--on3); text-align: right; }
.mk-count b { color: #FF8F86; font-size: 15px; }

.mk-todo { padding: 18px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px #000; }
.mk-todo-t { font-size: 13.5px; font-weight: 800; color: var(--ink3); margin-bottom: 6px; }
.mk-todo li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.mk-todo li b { font-size: 14.5px; }
.mk-todo li span { grid-column: 1; font-size: 12px; color: var(--ink3); }
.mk-todo li em { grid-column: 2; grid-row: 1 / 3; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; }
.mk-todo .wait { background: var(--warn-w); color: var(--warn); }
.mk-todo .stop { background: var(--bad-w); color: var(--bad); }

.mk-alerts { display: grid; gap: 10px; }
.mk-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 15px; background: rgba(255, 107, 96, .1); border: 1px solid rgba(255, 107, 96, .42); }
.mk-alert svg { width: 22px; height: 22px; color: #FF8F86; margin-top: 1px; }
.mk-alert b { display: block; color: #fff; font-size: 15px; }
.mk-alert span { font-size: 12.5px; color: var(--on2); }
.mk-night { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--on2); }
.mk-night svg { width: 16px; height: 16px; }

.mk-done { padding: 8px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid var(--nl2); }
.mk-done li { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center; padding: 13px 12px; }
.mk-done li + li { border-top: 1px solid var(--nl); }
.mk-done svg { grid-row: 1 / 3; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #1FCB8F; color: #04130D; stroke-width: 3; }
.mk-done b { color: #fff; font-size: 15.5px; }
.mk-done span { font-size: 13px; color: var(--on2); }



/* ══ 만드는 것 띠 (첫 화면 바로 아래) ══ */
.ticker { position: relative; display: grid; gap: 4px; padding: 30px 0; background: var(--n1); border-top: 1px solid var(--nl); border-bottom: 1px solid var(--nl); overflow: hidden; }
.ticker::before, .ticker::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: 12%; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--n1), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--n1), transparent); }
.ticker-row { display: flex; width: max-content; animation: tick-l 70s linear infinite; }
.ticker-row.r2 { animation: tick-r 80s linear infinite; }
.ticker-row p { display: flex; align-items: center; flex: none; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4.2vw, 56px); line-height: 1.25; letter-spacing: -0.03em; color: var(--on); white-space: nowrap; }
.ticker-row.r2 p { color: transparent; -webkit-text-stroke: 1.2px rgba(157, 176, 255, .6); }
.ticker-row i { flex: none; width: .26em; height: .26em; margin: 0 .6em; border-radius: 50%; background: var(--grad-dark); }
@keyframes tick-l { to { transform: translateX(-50%); } }
@keyframes tick-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ══ AI로 혼자 만들면 ══ */
.alone { padding: 120px 0 110px; background: var(--p1); }
.alone-top { display: grid; gap: 34px; align-items: center; }
.alone .sec-head { margin-bottom: 0; }
.kicker-err { color: var(--bad); }
.sec-head h2 em.alone-em { background: linear-gradient(100deg, #F04438 0%, #C4261D 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.errterm { border-radius: 20px; background: #0A0D1B; border: 1px solid #1E2440; box-shadow: 0 40px 80px -40px rgba(10, 12, 23, .55), 0 0 0 7px rgba(240, 68, 56, .07); font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #C9D2F5; overflow: hidden; }
.et-top { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid #1E2440; font-size: 12px; color: #7D86B0; }
.et-top > i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.et-top > i:nth-child(2) { background: #FEBC2E; }
.et-top > i:nth-child(3) { background: #28C840; }
.et-top span { margin-left: 8px; font-family: var(--font); }
.et-count { margin-left: auto; padding: 3px 11px; border-radius: 99px; background: rgba(255, 107, 107, .15); font-family: var(--font); font-size: 12.5px; font-weight: 800; color: #FF9B9B; }
.et-body { min-height: 300px; padding: 14px 16px 18px; }
.et-body p { white-space: pre-wrap; word-break: break-all; }
.et-body .tm { color: var(--cy); }
.et-body .bad { color: var(--err); }
.et-body .dim { color: #5F688F; }
.et-body .ai { color: var(--hi); }
.et-body .cur i { display: inline-block; width: 8px; height: 1.05em; vertical-align: -2px; background: #C9D2F5; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.alone-facts { display: grid; gap: 14px; margin-top: 60px; }
.alone-facts li { padding: 26px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.alone-facts svg { width: 28px; height: 28px; color: var(--bad); }
.alone-facts h3 { margin-top: 14px; font-size: 19px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.4; }
.alone-facts p { margin-top: 8px; font-size: 15.5px; line-height: 1.65; color: var(--ink2); }
.alone .cmp { margin-top: 64px; }

/* ══ 만드는 것 (분야 15가지) ══ */
.build { position: relative; padding: 130px 0 120px; background: var(--n1); color: var(--on); overflow: hidden; }
.build-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 35% at 12% 8%, rgba(61, 87, 245, .3), transparent 70%), radial-gradient(40% 32% at 92% 34%, rgba(108, 76, 240, .22), transparent 70%); }
.build-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(140, 160, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 160, 255, .06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); }
.build .wrap { position: relative; }
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 24px 22px 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(22, 28, 60, .78), rgba(11, 15, 34, .82)); border: 1px solid var(--nl); overflow: hidden; transition: border-color .25s, transform .3s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(107, 233, 255, .14), transparent 45%); opacity: 0; transition: opacity .3s; }
.tile:hover { border-color: rgba(157, 176, 255, .5); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }
.tile-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(61, 87, 245, .18); border: 1px solid rgba(157, 176, 255, .3); color: var(--cy); }
.tile-ico svg { width: 23px; height: 23px; }
.tile h3 { margin-top: 18px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.35; color: #fff; }
.tile > p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--on2); }
.tile-eg { display: grid; gap: 5px; margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--on3); }
.tile-eg li { display: flex; gap: 9px; }
.tile-eg li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .62em; border-radius: 50%; background: var(--hi); }
.tile-go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: auto; padding-top: 16px; font-size: 14.5px; font-weight: 800; color: var(--cy); text-align: left; }
.tile-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile-go svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.tile:hover .tile-go svg { transform: translateX(4px); }
.tile-go:focus-visible { outline: none; }
.tile:has(.tile-go:focus-visible) { outline: 3px solid var(--cy); outline-offset: 3px; }
.tile-art { margin-bottom: 22px; }
.tile-auto .tile-art { display: flex; align-items: center; }
.ta-node { flex: none; padding: 8px 12px; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid var(--nl2); font-size: 13px; font-weight: 700; color: var(--on); white-space: nowrap; }
.ta-node.is-hot { background: rgba(61, 220, 151, .14); border-color: rgba(61, 220, 151, .5); color: #8FF5C8; }
.ta-line { flex: 1; min-width: 18px; height: 2px; background: linear-gradient(90deg, transparent 0 35%, var(--cy) 50%, transparent 65% 100%) 0 0 / 300% 100% no-repeat, rgba(157, 176, 255, .22); animation: flow 2.2s linear infinite; }
.ta-line:nth-of-type(4) { animation-delay: 1.1s; }
@keyframes flow { from { background-position: 100% 0, 0 0; } to { background-position: -50% 0, 0 0; } }
.tile-ai .tile-art { display: grid; gap: 8px; }
.ta-q, .ta-a { max-width: 86%; padding: 9px 13px; border-radius: 15px; font-size: 13.5px; line-height: 1.5; }
.ta-q { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.ta-a { justify-self: start; background: rgba(255, 255, 255, .08); border: 1px solid var(--nl2); color: var(--on); border-bottom-left-radius: 5px; }
.tile-rescue { display: grid; gap: 14px; align-items: center; background: linear-gradient(110deg, rgba(61, 87, 245, .3), rgba(108, 76, 240, .18) 60%, rgba(11, 15, 34, .8)); border-color: rgba(157, 176, 255, .38); }
.tile-rescue h3 { margin-top: 0; }
.tile-rescue p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--on2); }
.tile-rescue .tile-go { margin-top: 0; padding: 0 22px; justify-self: start; border-radius: 14px; background: #fff; color: var(--ink); }
.build-note { margin-top: 28px; font-size: 14.5px; color: var(--on3); }
.build-note b { color: var(--on2); }

/* 체험 갤러리 — 맞춤 제작 */
.gallery-head { display: grid; gap: 26px; margin-bottom: 40px; }
.gallery .gallery-head .sec-head { margin-bottom: 0; }
.custom-flow { display: grid; gap: 10px; counter-reset: cf; }
.custom-flow li { position: relative; padding: 16px 18px 16px 58px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid var(--nl); counter-increment: cf; }
.custom-flow li::before { content: counter(cf); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--cta); font-family: var(--mono); font-size: 13px; font-weight: 800; color: #fff; }
.custom-flow b { display: block; font-size: 16px; font-weight: 800; color: #fff; }
.custom-flow span { display: block; margin-top: 2px; font-size: 14px; color: var(--on2); }
.gcard[data-cat="system"] { --tone: #9DB0FF; }
.gcard[data-cat="ai"] { --tone: #6EE7B7; }
.gcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gcard-tags li { padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid var(--nl); font-size: 12.5px; font-weight: 700; color: var(--on2); }
.gcard-fit { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(107, 233, 255, .06); border: 1px dashed rgba(107, 233, 255, .35); }
.gcard-fit p { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--cy); }
.gcard-fit p svg { width: 15px; height: 15px; }
.gcard-fit ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 13.5px; color: var(--on); }
.gcard-fit li::before { content: "+ "; color: var(--cy); font-weight: 800; }
.gcard-new { background: linear-gradient(160deg, rgba(61, 87, 245, .28), rgba(12, 16, 34, .95) 60%); border-color: rgba(157, 176, 255, .4); }
.gnew-art { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 26px 22px 6px; }
.gn-box { display: grid; place-items: center; min-height: 52px; padding: 8px; border-radius: 14px; border: 1px dashed rgba(157, 176, 255, .45); font-size: 14px; font-weight: 700; color: var(--on2); text-align: center; }
.gn-box.is-hot { grid-column: span 2; border-style: solid; border-color: rgba(61, 220, 151, .55); background: rgba(61, 220, 151, .12); color: #8FF5C8; font-size: 16px; font-weight: 800; }
.gcard-new .gcard-desc { flex: 0; }

/* ══ 2019년부터 ══ */
.since { padding: 130px 0 120px; background: var(--p0); }
.since-grid { display: grid; gap: 22px; align-items: center; }
.since-year { display: grid; line-height: .86; }
.since-year span { font-family: var(--mono); font-size: clamp(14px, 1.5vw, 18px); font-weight: 700; letter-spacing: .32em; color: var(--brand); }
.since-year b { margin-top: 10px; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(104px, 16vw, 230px); letter-spacing: -0.065em; background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.since-copy h2 { font-family: var(--display); font-weight: 800; font-size: clamp(29px, 4.6vw, 50px); line-height: 1.2; letter-spacing: -0.042em; }
.since-copy h2 em { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.since-copy > p { margin-top: 18px; max-width: 34em; font-size: 17.5px; color: var(--ink2); text-wrap: pretty; }
.since-facts { margin-top: 26px; border-top: 1px solid var(--line); }
.since-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.since-facts dt { font-weight: 700; color: var(--ink3); }
.since-facts dd { font-weight: 600; color: var(--ink); }
.since-facts a { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-weight: 800; text-underline-offset: 4px; }
.since-facts a svg { width: 15px; height: 15px; }
.norisk { display: grid; gap: 14px; margin-top: 70px; }
.norisk li { padding: 26px 24px; border-radius: 20px; background: var(--p1); border: 1px solid var(--line); }
.norisk svg { width: 28px; height: 28px; color: var(--brand); }
.norisk h3 { margin-top: 14px; font-size: 19px; font-weight: 800; letter-spacing: -0.025em; }
.norisk p { margin-top: 8px; font-size: 15.5px; line-height: 1.65; color: var(--ink2); }

/* ══ 체험 갤러리 ══ */
.gallery { position: relative; padding: 130px 0 120px; background: var(--n1); color: var(--on); overflow: hidden; }
.gallery::before { content: ""; position: absolute; left: 50%; top: -200px; width: 1200px; height: 700px; margin-left: -600px; background: radial-gradient(closest-side, rgba(76, 99, 255, .28), transparent); pointer-events: none; }
.gallery .wrap { position: relative; }
.gtabs { display: flex; gap: 8px; margin-bottom: 26px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gtabs::-webkit-scrollbar { display: none; }
.gtab { flex: none; min-height: 46px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--nl2); background: rgba(255, 255, 255, .04); font-size: 15px; font-weight: 700; color: var(--on2); transition: background-color .2s, color .2s, border-color .2s; }
.gtab:hover { color: var(--on); border-color: rgba(190, 200, 255, .5); }
.gtab.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.gcards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.gcards-fallback { color: var(--on2); }
.gcard { --tone: #9DB0FF; position: relative; display: flex; flex-direction: column; border-radius: 24px; background: linear-gradient(180deg, rgba(22, 28, 58, .9), rgba(12, 16, 34, .95)); border: 1px solid var(--nl); overflow: hidden; transition: transform .4s var(--ease-out), border-color .25s, box-shadow .4s; }
.gcard:hover { transform: translateY(-6px); border-color: var(--nl2); box-shadow: 0 40px 80px -40px rgba(76, 99, 255, .7); }
.gcard[data-cat="automation"] { --tone: #6BE9FF; }
.gcard[data-cat="program"] { --tone: #C1A6FF; }
.gcard[data-cat="webapp"] { --tone: #9DB0FF; }
.gcard[data-cat="website"] { --tone: #6EE7B7; }
.gcard[data-cat="service"] { --tone: #FDBA74; }
.gcard.is-hidden { display: none; }
.gcard-shot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #F3F5F9; border-bottom: 1px solid var(--nl); }
.gcard-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .7s var(--ease-out); }
.gcard:hover .gcard-shot img { transform: scale(1.04); }
.gcard-play { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; background: rgba(7, 9, 21, .82); color: #fff; font-size: 15px; font-weight: 800; backdrop-filter: blur(8px); transform: translate(-50%, -50%) scale(.92); opacity: 0; transition: opacity .25s, transform .3s var(--ease); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6); }
.gcard-play svg { width: 16px; height: 16px; fill: currentColor; }
.gcard:hover .gcard-play, .gcard-shot:focus-visible .gcard-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gcard-live { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: rgba(7, 9, 21, .78); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.gcard-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 20px 22px 22px; }
.gcard-cat { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--tone); }
.gcard-cat svg { width: 16px; height: 16px; }
.gcard h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.4; color: #fff; }
.gcard-desc { font-size: 15px; color: var(--on2); line-height: 1.6; flex: 1; }
.gcard-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--nl2); }
.gcard-price { font-size: 17px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.gcard-run { font-size: 13.5px; color: var(--on3); }
.gcard-btns { display: flex; gap: 8px; margin-top: 14px; }
.gcard-btns .btn { flex: 1; min-height: 46px; font-size: 14.5px; padding: 8px 12px; }

/* ══ 비교표 (AI로 혼자 vs 맡기면) ══ */
.cmp { border-radius: 26px; border: 1px solid var(--line); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); }
.cmp-row { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.cmp-row > * { padding: 4px 20px; }
.cmp-row:not(.cmp-head) { padding: 14px 0; }
.cmp-head { display: none; }
.cmp-k { font-size: 13.5px; font-weight: 800; color: var(--ink3); }
.cmp-row s { font-size: 15.5px; color: var(--ink3); text-decoration-color: rgba(217, 45, 32, .8); text-decoration-thickness: 2px; }
.cmp-row b { display: flex; align-items: flex-start; gap: 8px; font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.cmp-row b svg { width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 3; }

/* ══ 비용 ══ */
.pricing { position: relative; padding: 130px 0 120px; background: radial-gradient(70% 60% at 85% 0%, rgba(108, 76, 240, .28), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(61, 87, 245, .2), transparent 60%), var(--n1); color: var(--on); overflow: hidden; }
.price-grid { display: grid; gap: 18px; }
.pcard { position: relative; padding: 34px 26px 28px; border-radius: 28px; background: linear-gradient(160deg, #151B3E 0%, #0B0F24 70%); border: 1px solid var(--nl2); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(61, 87, 245, .6); }
.pcard::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(107, 233, 255, .25), transparent); pointer-events: none; }
.pcard-k { font-size: 15.5px; font-weight: 800; color: var(--hi); }
.pcard-n { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.pcard-n b { font-family: var(--display); font-weight: 800; font-size: clamp(96px, 22vw, 168px); line-height: .95; letter-spacing: -0.065em; background: var(--grad-dark); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.pcard-n span { font-size: 24px; font-weight: 800; color: #fff; }
.pcard-d { margin-top: 12px; max-width: 26em; font-size: 16.5px; color: var(--on2); }
.pcard-list { display: grid; gap: 10px; margin-top: 24px; }
.pcard-list li { display: flex; align-items: center; gap: 11px; font-size: 16.5px; font-weight: 600; color: #fff; }
.pcard-list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(107, 233, 255, .16); color: var(--cy); stroke-width: 3; }
.pcard-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--nl2); font-size: 14.5px; color: var(--on2); line-height: 1.6; }
.pcard-note svg { width: 20px; height: 20px; color: #FDBA74; margin-top: 1px; }

.calc { padding: 28px 22px; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }
.calc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.calc-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.calc-reset { min-height: 44px; padding: 0 12px; border-radius: 11px; font-size: 14px; font-weight: 700; color: var(--ink3); }
.calc-reset:hover { background: var(--p1); color: var(--ink); }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 99px; background: var(--p1); border: 1.5px solid transparent; font-size: 14.5px; font-weight: 700; color: var(--ink2); transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--ease); }
.chip small { font-size: 12.5px; font-weight: 600; color: var(--ink3); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--line2); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--brand-w); border-color: var(--brand); color: var(--brand-dk); }
.chip[aria-pressed="true"] small { color: var(--brand-dk); }
.chip[aria-pressed="true"]::before { content: ""; width: 9px; height: 5px; margin: -3px 2px 0 1px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; padding: 20px; border-radius: 20px; background: var(--n2); color: var(--on2); }
.calc-out p { font-size: 13.5px; font-weight: 700; }
.calc-main { grid-column: 1 / -1; }
.calc-n { margin-top: 2px; font-size: 22px !important; font-weight: 800 !important; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.calc-main .calc-n { font-family: var(--display); font-size: clamp(30px, 4vw, 40px) !important; background: var(--grad-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-fine { margin-top: 12px; font-size: 13.5px; color: var(--ink3); }
.bump { animation: bump .4s var(--ease); }
.bump2 { animation: bump2 .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); } }
@keyframes bump2 { 40% { transform: scale(1.06); } }

.run { display: grid; gap: 22px; margin-top: 18px; padding: 28px 24px; border-radius: 28px; background: rgba(255, 255, 255, .04); border: 1px solid var(--nl); }
.run-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.4; color: #fff; }
.run-head p { margin-top: 10px; font-size: 16px; color: var(--on2); }
.run-list > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--nl); font-size: 16px; }
.run-list dt { display: inline-flex; align-items: center; gap: 10px; color: var(--on2); }
.run-list dt svg { width: 18px; height: 18px; color: var(--hi); }
.run-list dd { font-weight: 800; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }

/* ══ 진행 과정 ══ */
.process { padding: 130px 0 120px; background: var(--p0); }
.steps-wrap { position: relative; }
.steps-line { display: none; }
.steps { display: grid; gap: 12px; }
.step { position: relative; padding: 22px 22px 22px 86px; border-radius: 22px; background: var(--p1); border: 1px solid var(--line); }
.step-dot { position: absolute; left: 20px; top: 22px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line2); color: var(--brand); transition: border-color .3s, box-shadow .3s, background-color .3s, color .3s; }
.step-dot svg { width: 23px; height: 23px; }
.step.is-lit .step-dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 12px 26px -10px rgba(61, 87, 245, .8); }
.step-n { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink3); }
.step h3 { margin-top: 2px; font-size: 19px; font-weight: 800; letter-spacing: -0.025em; }
.step p:not(.step-n) { margin-top: 4px; font-size: 15.5px; color: var(--ink2); }

/* ══ 후기 ══ */
.reviews { padding: 130px 0 110px; background: var(--p1); overflow: hidden; }
.reviews .sec-head { margin-bottom: 44px; }
.rv-marquee { display: grid; gap: 16px; }
.rv-row { display: flex; gap: 16px; width: max-content; animation: tick-l 90s linear infinite; }
.rv-row.r2 { animation-name: tick-r; animation-duration: 100s; }
.rv-marquee:hover .rv-row { animation-play-state: paused; }
.rv-card { flex: none; width: 280px; border-radius: 22px; overflow: hidden; background: #B9CCDD; box-shadow: 0 20px 40px -24px rgba(10, 12, 23, .45); border: 1px solid rgba(10, 12, 23, .06); }
.rv-card img { display: block; width: 100%; height: auto; }

/* ══ 자주 묻는 질문 ══ */
.faq { padding: 130px 0 120px; background: var(--p0); }
.faq-grid { display: grid; gap: 8px; }
.faq .sec-head { margin-bottom: 30px; }
.faq-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.faq-list details { border-top: 1px solid var(--line2); }
.faq-list details:last-child { border-bottom: 1px solid var(--line2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 18px 0; font-size: 18px; font-weight: 700; line-height: 1.45; cursor: pointer; list-style: none; transition: color .15s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--p1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A4056' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-w); }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--brand-dk); }
.faq-list details p { padding: 0 48px 26px 0; color: var(--ink2); max-width: 42em; animation: pop .3s var(--ease) both; }

/* ══ 마지막 안내 ══ */
.final { position: relative; padding: 140px 0 130px; background: var(--n1); color: var(--on); overflow: hidden; isolation: isolate; text-align: center; }
.final-bg { position: absolute; inset: 0; z-index: -1; }
.final-bg i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.final-bg i:nth-child(1) { width: 560px; height: 560px; left: 50%; top: -260px; margin-left: -280px; background: #3D57F5; animation: drift-a 18s ease-in-out infinite alternate; }
.final-bg i:nth-child(2) { width: 420px; height: 420px; left: -120px; bottom: -200px; background: #6C4CF0; animation: drift-b 22s ease-in-out infinite alternate; }
.final-bg i:nth-child(3) { width: 380px; height: 380px; right: -100px; bottom: -160px; background: #0EA5E9; opacity: .35; animation: drift-a 26s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate3d(60px, 40px, 0) scale(1.1); } }
@keyframes drift-b { to { transform: translate3d(-50px, 40px, 0) scale(.92); } }
.final-in { display: flex; flex-direction: column; align-items: center; }
.on-dark-k { color: var(--hi); }
.final-in > p:not(.kicker) { margin-top: 18px; max-width: 34em; font-size: 17.5px; color: var(--on2); }
.final-form { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 700px; margin-top: 34px; padding: 10px; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px -30px rgba(10, 14, 60, .9); }
.final-form input { flex: 1; min-height: 54px; padding: 0 14px; border: 0; border-radius: 14px; font-size: 17px; color: var(--ink); background: transparent; }
.final-form input:focus { outline: none; }
.final-form input::placeholder { color: #626A82; }
.final-form:focus-within { box-shadow: 0 0 0 3px rgba(107, 233, 255, .8), 0 30px 80px -30px rgba(10, 14, 60, .9); }
.final-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 24px; }
.final-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--on2); text-decoration: none; }
.final-links a:hover { color: #fff; }
.final-links svg { width: 19px; height: 19px; color: var(--hi); }

/* ══ 체험 창 ══ */
.demo-modal { width: min(1280px, calc(100vw - 32px)); height: min(880px, calc(100vh - 32px)); max-width: none; max-height: none; padding: 0; border: 1px solid var(--nl2); border-radius: 24px; background: var(--n2); color: var(--on); overflow: hidden; box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .9); }
.demo-modal[open] { display: grid; grid-template-rows: auto 1fr auto; animation: modal-in .35s var(--ease-out) both; }
.demo-modal::backdrop { background: rgba(4, 5, 12, .74); backdrop-filter: blur(6px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.dm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--nl); }
.dm-title { min-width: 0; }
.dm-cat { font-size: 12.5px; font-weight: 700; color: var(--hi); }
.dm-title h2 { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.dm-frame { position: relative; background: #F3F5F9; min-height: 0; }
.dm-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.dm-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: #F3F5F9; color: var(--ink3); font-size: 15px; font-weight: 600; transition: opacity .3s; }
.dm-loading i { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #DDE2F0; border-top-color: var(--brand); animation: spin .8s linear infinite; }
.dm-loading.is-done { opacity: 0; pointer-events: none; }
.dm-note { padding: 10px 22px; font-size: 13px; color: var(--on3); border-top: 1px solid var(--nl); }

/* ══ 넓은 화면 ══ */
@media (min-width: 640px) {
  .gcards { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .custom-flow { grid-template-columns: repeat(3, 1fr); }
  .gcard-new { grid-column: 1 / -1; }
  .tile-rescue { grid-column: 1 / -1; }
  .final-form { flex-direction: row; align-items: center; padding: 8px 8px 8px 12px; }
  .final-form .btn { flex: none; }
}

@media (min-width: 760px) {
  .voices { padding: 140px 0 150px; }
  .dlog { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  /* 같은 줄 카드끼리 그림 높이와 글 시작선을 맞춥니다 */
  .dlog-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
  .alone-facts, .norisk { grid-template-columns: repeat(2, 1fr); }
  .tile-rescue { grid-template-columns: auto 1fr auto; padding: 26px 28px; }
  .tile-rescue .tile-go { justify-self: end; }
  .voices-hud { top: 32px; left: 40px; right: 40px; }
  .cmp-head { display: grid; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 800; }
  .cmp-head > * { padding: 16px 26px !important; }
  .cmp-head span:last-child { color: #9DB0FF; }
  .cmp-row { grid-template-columns: 200px 1fr 1.25fr; align-items: center; }
  .cmp-row:not(.cmp-head) { padding: 0; }
  .cmp-row > * { padding: 22px 26px; }
  .cmp-row b { background: linear-gradient(90deg, rgba(61, 87, 245, .07), transparent 80%); height: 100%; align-items: center; }
  .cmp-k { font-size: 15px; color: var(--ink2); }
  .calc, .pcard { padding: 40px 38px 34px; }
}

@media (min-width: 1000px) {
  .voices-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; }
  .alone-top { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 60px; }
  .since-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; }
  .gallery-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 48px; }
  .custom-flow { grid-template-columns: 1fr; }
  .voice { font-size: 18px; max-width: 88%; }
  .gcards { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .gcard { grid-column: span 2; }
  .gcard.is-feature { grid-column: span 3; }
  .price-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; }
  .run { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; padding: 38px 40px; }
  .steps-line { display: block; position: absolute; left: 10%; right: 10%; top: 48px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
  .steps-line i { display: block; height: 100%; width: var(--progress, 0%); background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .2s linear; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .step { padding: 98px 20px 24px; background: transparent; border: 0; text-align: center; }
  .step-dot { left: 50%; top: 22px; margin-left: -26px; width: 52px; height: 52px; border-radius: 50%; }
  .faq-grid { grid-template-columns: 360px 1fr; gap: 72px; align-items: start; }
  .alone-facts, .norisk { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .dlog { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .dlog-art { min-height: 300px; }
  .tile-lg { grid-column: span 2; padding: 28px 28px 22px; }
  .tile-lg h3 { font-size: 24px; }
  .tile-rescue { grid-column: span 3; }
  .gcard-new { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
  .gcard-new .gnew-art { padding: 34px 10px 34px 34px; }
  .gcard-new .gcard-body { padding: 34px 40px; }
  .gcard-new h3 { font-size: 24px; }
  .faq .sec-head { position: sticky; top: calc(var(--nav-h) + 30px); }
}

@media (max-width: 559px) {
}
@media (max-width: 759px) {
  .voices-hud span:last-child { display: none; }
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile-lg, .tile-rescue { grid-column: 1 / -1; }
  .tile:not(.tile-lg):not(.tile-rescue) { padding: 18px 15px 10px; border-radius: 18px; }
  .tile:not(.tile-lg):not(.tile-rescue) .tile-ico { width: 40px; height: 40px; border-radius: 12px; }
  .tile:not(.tile-lg):not(.tile-rescue) h3 { margin-top: 14px; font-size: 16.5px; }
  .tile:not(.tile-lg):not(.tile-rescue) > p { font-size: 13.5px; line-height: 1.5; }
  .tile:not(.tile-lg):not(.tile-rescue) .tile-eg { display: none; }
  .tile:not(.tile-lg):not(.tile-rescue) .tile-go { padding-top: 10px; font-size: 13.5px; }
  .tile-auto .tile-art { gap: 0; }
  .ta-node { padding: 7px 9px; font-size: 12px; }
  .since-facts div { grid-template-columns: 72px 1fr; font-size: 14.5px; }
  .demo-modal { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
  .dm-top { padding: 8px 6px 8px 14px; }
  .dm-newtab { display: none; }
  .dm-note { display: none; }
  .rv-card { width: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv-row, .ticker-row, .ta-line { animation: none; }
  .rv-marquee { overflow-x: auto; }
  .js .voice { opacity: 1; transform: none; }
}

/* ── 첫 방문 속도: 글꼴을 받는 동안(.fonts-wait, pre.js)에는 첫 화면 아래 섹션을 화면에 가까워질 때 계산합니다 ──
   글꼴이 다 오면 섹션별로 차례로 원래대로 돌아갑니다(.cv-done). 높이 값은 실제 높이에 가까운 짐작값입니다. */
.fonts-wait main > section:not(.hero):not(.cv-done),
.fonts-wait .ft:not(.cv-done) { content-visibility: auto; contain-intrinsic-size: auto var(--cv-h, 1200px); }
#problem { --cv-h: 960px; }
#story { --cv-h: 4300px; }
#alone { --cv-h: 2900px; }
#build { --cv-h: 4600px; }
#gallery { --cv-h: 5440px; }
#since { --cv-h: 1600px; }
#pricing { --cv-h: 2920px; }
#process { --cv-h: 2070px; }
#reviews { --cv-h: 1070px; }
#faq { --cv-h: 1300px; }
#final { --cv-h: 770px; }
.ft { --cv-h: 500px; }
@media (min-width: 760px) {
  #problem { --cv-h: 690px; }
  #story { --cv-h: 1700px; }
  #alone { --cv-h: 1700px; }
  #build { --cv-h: 1900px; }
  #gallery { --cv-h: 2760px; }
  #since { --cv-h: 1000px; }
  #pricing { --cv-h: 1660px; }
  #process { --cv-h: 1000px; }
  #reviews { --cv-h: 1170px; }
  #faq { --cv-h: 980px; }
  #final { --cv-h: 690px; }
  .ft { --cv-h: 400px; }
}
