/* NUBIDECK 홈페이지 — 흰 배경 · 짙은 글자 · 앱과 같은 파란색 포인트 */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --soft: #F6F7F9;
  --card: #FFFFFF;
  --ink: #0B0C0F;
  --ink-2: #4A4F59;
  --muted: #8B909A;
  --line: #ECEEF1;
  --line-2: #DFE2E7;
  --blue: #5B3DF0;
  --blue-2: #7B61FF;
  --blue-soft: #F0EDFF;
  --ok: #15803D;
  --ok-soft: #ECFDF3;
  --warn: #B45309;
  --warn-soft: #FFF7ED;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -8px rgba(16, 24, 40, .10);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); letter-spacing: -0.011em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.035em; font-weight: 700; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid rgba(91, 61, 240, .35); outline-offset: 2px; }
.ln { display: block; }

/* 머리줄 */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 7px; box-shadow: 0 1px 2px rgba(91, 61, 240, .25); }
.wordmark { font-weight: 700; font-size: 17px; letter-spacing: -0.025em; }
.wordmark b { font-weight: 700; color: var(--blue); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14.5px; padding: 7px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav .nav-cta { background: var(--ink); color: #fff; margin-left: 6px; font-weight: 600; }
.nav .nav-cta:hover { background: #2a2d33; color: #fff; }

/* 공통 */
.kicker { margin: 0 0 12px; color: var(--blue); font-weight: 600; font-size: 14px; letter-spacing: 0; }
.sec { padding: 112px 0; }
.sec.soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto; }
.sec h2 { font-size: clamp(30px, 4vw, 44px); }
.sub { color: var(--ink-2); margin: 14px 0 0; font-size: 17px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 600; font-size: 15.5px; border-radius: 999px; padding: 13px 24px; transition: transform .12s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 19px; height: 19px; flex: none; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 6px 16px -6px rgba(0, 0, 0, .35); }
.btn-dark:hover { background: #2a2d33; }
.btn-light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm); }
.btn-light:hover { box-shadow: inset 0 0 0 1px #C9CDD4, var(--shadow-sm); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; font-weight: 600; }
.btn.is-off { background: var(--soft); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; padding: 72px 0 24px; text-align: center; }
.glow { position: absolute; inset: -20% -10% auto; height: 760px; background:
  radial-gradient(520px 320px at 30% 40%, rgba(93, 179, 255, .20), transparent 70%),
  radial-gradient(560px 340px at 72% 46%, rgba(124, 108, 255, .13), transparent 70%); pointer-events: none; }
.hero-in { position: relative; }
.hero-icon { margin: 0 auto 22px; width: 88px; height: 88px; border-radius: 21px; box-shadow: 0 2px 4px rgba(91, 61, 240, .18), 0 18px 40px -12px rgba(91, 61, 240, .45); }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.13; }
.lead { margin: 22px auto 0; max-width: 620px; color: var(--ink-2); font-size: clamp(17px, 1.9vw, 19.5px); line-height: 1.65; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.cta-note { margin: 14px 0 0; color: var(--muted); font-size: 13.5px; }

.shot { margin: 0; border-radius: 14px; overflow: hidden; background: #0E1626; box-shadow: 0 0 0 1px rgba(16, 24, 40, .08), 0 2px 6px rgba(16, 24, 40, .06), 0 32px 72px -24px rgba(16, 24, 40, .35); }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; background: #1A2233; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; }
.shot-bar i:nth-child(1) { background: #FF5F57; } .shot-bar i:nth-child(2) { background: #FEBC2E; } .shot-bar i:nth-child(3) { background: #28C840; }
.shot-hero { margin: 64px auto 0; max-width: 1060px; }

.demo { position: relative; margin: 64px auto 0; max-width: 1080px; border-radius: 16px; overflow: hidden; background: #1b1f3a; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px rgba(16, 24, 40, .08), 0 2px 6px rgba(16, 24, 40, .06), 0 32px 72px -24px rgba(16, 24, 40, .35); }
.demo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-btn { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(15, 17, 21, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); transition: background .15s; }
.demo-btn:hover { background: rgba(15, 17, 21, .75); }
.demo-btn svg { width: 18px; height: 18px; }
.demo-btn .i-play { display: none; }
.demo-btn[aria-pressed="true"] .i-play { display: block; }
.demo-btn[aria-pressed="true"] .i-pause { display: none; }

.trust { padding: 56px 0 72px; }
.trust-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1060px; }
.trust-in > div { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.trust svg { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.trust b { font-size: 15.5px; font-weight: 600; }
.trust span { grid-column: 2; color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }

/* 사용 방법 */
.flow { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); overflow: hidden; }
.step-img { aspect-ratio: 16 / 10; overflow: hidden; background: #0E1626; }
.step-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); }
.step-img.deck img { object-fit: contain; transform: none; padding: 14px; box-sizing: border-box; }
.step-tx { padding: 22px 24px 26px; }
.step .num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.step h3 { font-size: 19px; }
.step p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }

.feature { display: grid; grid-template-columns: 0.85fr 1.35fr; gap: 56px; align-items: center; margin-top: 20px; padding: 48px; background: var(--card); border-radius: 24px; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.feature h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.035em; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' stroke='%232563EB' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 19px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }

/* 다운로드 */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; align-items: start; }
.loading { color: var(--muted); text-align: center; grid-column: 1 / -1; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.card > div { padding: 24px 28px; }
.card > div + div { border-top: 1px solid var(--line); }
.card-head { display: flex; align-items: center; gap: 12px; }
.os-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--soft); color: var(--ink); flex: none; }
.os-ic svg { width: 22px; height: 22px; }
.card-head h3 { font-size: 22px; }
.card-head .pill { margin-left: auto; }
.card-actions { display: grid; gap: 10px; margin-top: 20px; }
.card-actions .btn { width: 100%; justify-content: flex-start; border-radius: 14px; padding: 14px 18px; }
.card-actions .btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; text-align: left; flex: 1; }
.card-actions .btn small { font-weight: 500; font-size: 12.5px; opacity: .7; margin-top: 2px; }
.card-actions .btn .size { flex: none; font-weight: 500; font-size: 13.5px; opacity: .75; }
.card-note { margin: 0; color: var(--muted); font-size: 13.5px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill-free { background: var(--blue-soft); color: var(--blue); }
.pill-soon { background: var(--soft); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }

.card h4 { margin: 0 0 12px; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 9px 20px; margin: 0; font-size: 14.5px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.specs dd small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.specs .empty { color: var(--muted); font-weight: 400; }
.sig-col { display: grid; gap: 6px; justify-items: start; }
.sig-col p { margin: 0; color: var(--ink-2); font-size: 14px; }

.copied { background: var(--ok-soft) !important; color: var(--ok) !important; box-shadow: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mini-steps { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; display: grid; gap: 4px; }
.mini-steps b { color: var(--ink); font-weight: 600; }
.more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* 설치 안내 */
.howto { margin: 44px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.howto li { counter-increment: s; position: relative; padding: 20px 22px 20px 62px; background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.howto li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 13.5px; }
.howto b { display: block; font-weight: 600; }
.howto span { color: var(--ink-2); font-size: 15px; }
.howto em { font-style: normal; font-weight: 600; color: var(--ink); }
.cmd { display: block; margin-top: 10px; padding: 10px 12px; background: #0F1115; color: #E6E9EF; border-radius: 10px; font: 13px/1.5 var(--mono); overflow-x: auto; white-space: nowrap; }
.fine { margin-top: 20px; color: var(--muted); font-size: 14px; text-align: center; }
.fine code { font: 13px var(--mono); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.howto li, .cards > *, .flow > *, .feature > *, .trust-in > *, .foot-in > * { min-width: 0; }

/* 하단 */
.foot { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.foot .wordmark { font-size: 15px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--ink); }
.copy { margin: 0; color: var(--muted); font-size: 13.5px; }

/* 곧 오픈 창 */
dialog { border: 0; padding: 0; border-radius: 22px; width: min(420px, 100% - 32px); box-shadow: 0 0 0 1px rgba(16, 24, 40, .06), 0 30px 80px -20px rgba(16, 24, 40, .45); color: var(--ink); background: var(--card); }
dialog::backdrop { background: rgba(15, 17, 21, .35); backdrop-filter: blur(4px); }
.dlg { position: relative; padding: 30px 26px 24px; display: grid; gap: 10px; }
.dlg .x { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink-2); cursor: pointer; font-size: 13px; }
.dlg .x:hover { background: var(--line); }
.dlg h3 { font-size: 21px; }
.dlg .pill { justify-self: start; }
.dlg > p { margin: 0; color: var(--ink-2); font-size: 15px; }
.dlg-free { margin-top: 10px; padding: 18px; border-radius: 16px; background: var(--soft); display: grid; gap: 14px; }
.dlg-free p { margin: 0; font-size: 15px; }
.dlg-free p span { color: var(--muted); font-size: 13px; }

/* 스스로 배우기 — 카드 4개(2×2), 아이콘 + 제목 + 설명 */
.learn-grid { list-style: none; padding: 0; margin: 56px auto 0; max-width: 960px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.learn-grid li { background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); padding: 26px 28px 28px; }
.learn-grid svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.learn-grid h3 { font-size: 19px; margin-top: 16px; }
.learn-grid p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.learn-note { text-align: center; color: var(--muted); font-size: 14.5px; margin: 28px auto 0; max-width: 720px; }

/* 모바일 */
@media (max-width: 900px) {
  .sec { padding: 80px 0; }
  .learn-grid { grid-template-columns: 1fr; }
  .trust-in { grid-template-columns: 1fr; gap: 20px; }
  .flow { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 16px; }
  .hero-icon { width: 72px; height: 72px; border-radius: 17px; }
  .lead .ln { display: inline; }
  .cta .btn { width: 100%; }
  .nav a:not(.nav-cta) { display: none; }
  .card > div { padding: 20px; }
  .shot-hero, .demo { margin-top: 44px; }
  .demo { border-radius: 12px; }
  .demo-btn { right: 10px; bottom: 10px; width: 36px; height: 36px; }
  .foot-links { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* 약관·정책 문서 (privacy·terms·refund) */
.doc { padding: 64px 0 96px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); font-weight: 800; }
.doc .meta { color: var(--muted); margin: 12px 0 40px; font-size: 14.5px; }
.doc section { background: var(--card); box-shadow: 0 0 0 1px var(--line); border-radius: 18px; padding: 26px 28px; margin-top: 16px; }
.doc h2 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; }
.doc ul { padding-left: 20px; margin: 8px 0 0; display: grid; gap: 6px; }
.doc b { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .doc section { padding: 20px; } .doc table, .doc tbody, .doc tr, .doc th, .doc td { display: block; } .doc th { border-top: 1px solid var(--line); padding-bottom: 0; } .doc td { border-top: 0; } }

/* 언어 고르기 — 지구 아이콘 + 언어 이름, 실제 선택은 투명한 기본 select(키보드·모바일 그대로) */
.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer; }
.lang:hover { background: var(--soft); color: var(--ink); }
.lang svg { width: 16px; height: 16px; flex: none; }
.lang span::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); opacity: .6; }
.lang select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.lang:focus-within { outline: 3px solid rgba(91, 61, 240, .35); outline-offset: 1px; }
.nav-price:not(:empty)::before { content: " · "; }

/* 번역 들어오기 전 원문 가리기 */
.i18n-wait body { visibility: hidden; }

/* 일본어·중국어: 띄어쓰기가 없어 keep-all 이면 줄이 안 바뀐다 → 기본 줄바꿈 + 각 나라 글꼴 */
:lang(ja) body, :lang(zh-CN) body, :lang(zh-TW) body { word-break: normal; line-break: strict; letter-spacing: 0; }
:lang(ja) body { font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif; }
:lang(zh-CN) body { font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(zh-TW) body { font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(zh-CN) h1, :lang(zh-CN) h2, :lang(zh-CN) h3, :lang(zh-TW) h1, :lang(zh-TW) h2, :lang(zh-TW) h3 { letter-spacing: -0.01em; }
/* 유럽어는 낱말이 길어 큰 제목을 조금 줄인다 */
:lang(de) .hero h1, :lang(fr) .hero h1, :lang(es) .hero h1, :lang(pt-BR) .hero h1, :lang(it) .hero h1 { font-size: clamp(34px, 5.6vw, 62px); }
:lang(de) body { hyphens: auto; }

@media (max-width: 560px) {
  .lang { padding: 0 8px; }
  .lang span { display: none; }
  .nav-price { display: none; }
}
.legal-note { margin: 0 0 20px; padding: 10px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-size: 14px; font-weight: 500; }

/* 자주 묻는 질문 (2026-11-28) — 질문을 누르면 답이 펼쳐짐. 내용은 서버가 채움(관리자 › 검색·AI 노출) */
.faq-list { max-width: 780px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); transition: border-color .15s; }
.faq-item:hover, .faq-item[open] { border-color: var(--line-2); }
.faq-item summary { cursor: pointer; list-style: none; position: relative; padding: 20px 60px 20px 24px; font-weight: 600; font-size: 17px; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 16px; }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--ink-2); line-height: 1.75; }
@media (max-width: 560px) { .faq-list { margin-top: 32px; } .faq-item summary { font-size: 16px; padding: 18px 52px 18px 18px; } .faq-item p { padding: 0 18px 18px; } }

/* ── 2026-11-28 성장 기능: 상단 바(이벤트·공지) · 할인 가격 · 사용 후기 · 새 소식 받기 · 후기/무료 코드 페이지 ── */
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px #C9CDD4; }

/* 상단 바 — 관리자 › 이벤트·상단 바. 테마 6가지. 끝나는 시각이 있으면 남은 시간이 실제로 줄어든다 */
.afl-bar { position: relative; z-index: 21; color: #fff; background: #0B0C0F; font-size: 14px; line-height: 1.35; animation: aflBarIn .35s ease-out both; }
@keyframes aflBarIn { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
.afl-bar-in { width: min(1120px, 100% - 88px); margin-inline: auto; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px 14px; flex-wrap: wrap; padding: 8px 0; text-align: center; }
.afl-bar-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .14); white-space: nowrap; }
.afl-bar-text { font-weight: 600; letter-spacing: -.01em; }
.afl-bar-cd { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.afl-bar-cd b { min-width: 26px; padding: 2px 5px; border-radius: 6px; background: rgba(255, 255, 255, .16); font: 700 13px/1.3 var(--mono); text-align: center; }
.afl-bar-cd i { font-style: normal; font-size: 12px; opacity: .8; margin: 0 3px 0 1px; }
.afl-bar-cd em { font-style: normal; font-size: 12.5px; opacity: .85; margin-left: 4px; font-weight: 600; }
.afl-bar-cta { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: #fff; color: #0B0C0F; font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; transition: transform .12s, opacity .15s; }
.afl-bar-cta:hover { opacity: .9; }
.afl-bar-cta:active { transform: translateY(1px); }
.afl-bar-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: inherit; opacity: .7; font-size: 20px; line-height: 1; cursor: pointer; }
.afl-bar-x:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.afl-bar.t-blue { background: linear-gradient(90deg, #4527D6, #5B3DF0 45%, #4F46E5); }
.afl-bar.t-sunset { background: linear-gradient(90deg, #EA580C, #DB2777 55%, #7C3AED); }
.afl-bar.t-red { background: linear-gradient(90deg, #991B1B, #DC2626 55%, #B91C1C); }
.afl-bar.t-red .afl-bar-tag { background: #FCD34D; color: #7C2D12; }
.afl-bar.t-neon { background: #0A0A0A; }
.afl-bar.t-neon .afl-bar-tag { background: #D4FF3A; color: #0A0A0A; }
.afl-bar.t-neon .afl-bar-cd b { background: rgba(212, 255, 58, .14); color: #D4FF3A; }
.afl-bar.t-neon .afl-bar-cta { background: #D4FF3A; color: #0A0A0A; }
.afl-bar.t-light { background: #EEF4FF; color: #1E3A8A; border-bottom: 1px solid #DCE7FE; }
.afl-bar.t-light .afl-bar-tag { background: #5B3DF0; color: #fff; }
.afl-bar.t-light .afl-bar-cd b { background: #fff; color: #4527D6; box-shadow: inset 0 0 0 1px #DCE7FE; }
.afl-bar.t-light .afl-bar-cta { background: #5B3DF0; color: #fff; }
.afl-bar.t-light .afl-bar-x:hover { background: rgba(91, 61, 240, .1); }
.afl-bar.is-gone { display: none; }
@media (max-width: 560px) {
  .afl-bar { font-size: 13px; }
  .afl-bar-in { width: calc(100% - 52px); gap: 6px 10px; min-height: 40px; padding: 7px 0; justify-content: flex-start; text-align: left; margin-left: 14px; }
  .afl-bar-cd b { min-width: 22px; font-size: 12px; }
  .afl-bar-x { right: 4px; }
}
@media (prefers-reduced-motion: reduce) { .afl-bar { animation: none; } }

/* 할인 가격 (이벤트 기간) */
.price-was { text-decoration: line-through; opacity: .55; font-weight: 500; margin-right: 6px; }
.price-sale { font-weight: 700; }
.sale-tag { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 800; color: #B42318; background: #FEF3F2; border-radius: 999px; padding: 1px 8px; vertical-align: 1px; }
.nav-cta .price-was { opacity: .5; }

/* 사용 후기 */
.rv-sum { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.rv-stars { color: #F59E0B; letter-spacing: 1px; font-size: 15px; white-space: nowrap; }
.rv-stars i { font-style: normal; color: #E5E7EB; }
.rv-grid { columns: 3 300px; column-gap: 18px; margin: 48px auto 0; max-width: 1040px; }
.rv-card { break-inside: avoid; margin: 0 0 18px; background: var(--card); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); padding: 22px 22px 20px; display: grid; gap: 10px; }
.rv-card.is-top { box-shadow: 0 0 0 1.5px #C7D7FE, var(--shadow); }
.rv-card blockquote { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.7; white-space: pre-line; }
.rv-card figcaption { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.rv-badge { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.rv-badge.ok { background: var(--ok-soft); color: var(--ok); }
.rv-reply { margin: 2px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.rv-reply b { color: var(--blue); margin-right: 4px; }
.rv-more { text-align: center; margin: 22px 0 0; display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.rv-more .more { margin: 0; }

/* 새 소식 받기 */
.news { padding: 72px 0; background: var(--soft); border-top: 1px solid var(--line); }
.news-in { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 24px 48px; align-items: center; }
.news h2 { font-size: clamp(24px, 3vw, 30px); }
.news-tx p { margin: 10px 0 0; color: var(--ink-2); }
.news-row { display: flex; gap: 8px; }
.news-row input { flex: 1; min-width: 0; height: 50px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 20px; font: inherit; background: #fff; outline: none; }
.news-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.news-agree { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.news-agree input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.news-msg { min-height: 20px; margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.news-msg.ok { color: var(--ok); } .news-msg.bad { color: #B42318; }
@media (max-width: 900px) { .news-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .news-row { flex-direction: column; } .news-row .btn { width: 100%; } }

/* 후기 쓰기 · 무료 코드 받기 페이지 */
.pg { padding: 56px 0 96px; }
.pg-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.pg-head h1 { font-size: clamp(30px, 4.4vw, 42px); font-weight: 800; }
.pg-head p { color: var(--ink-2); margin: 12px 0 0; font-size: 16.5px; }
.fcard { max-width: 560px; margin: 0 auto; background: var(--card); border-radius: 22px; box-shadow: 0 0 0 1px var(--line), var(--shadow); padding: 28px; display: grid; gap: 18px; }
.f { display: grid; gap: 7px; }
.f > span { font-size: 14px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; }
.f > span em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 13px; }
.f input[type=text], .f input[type=email], .f textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font: inherit; background: #fff; outline: none; transition: border-color .12s, box-shadow .12s; }
.f textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.f input:focus, .f textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.f .mono, .f input.mono { font-family: var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.f small { color: var(--muted); font-size: 13px; }
.chk { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.55; cursor: pointer; }
.chk input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue); flex: none; }
.chk b { color: var(--ink); }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.types label { position: relative; cursor: pointer; }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types span { display: grid; gap: 2px; place-items: center; text-align: center; padding: 12px 6px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: 14px; transition: box-shadow .12s, background .12s; }
.types span small { font-weight: 500; color: var(--muted); font-size: 12px; }
.types input:checked + span { box-shadow: inset 0 0 0 2px var(--blue); background: var(--blue-soft); color: #4527D6; }
.types input:focus-visible + span { outline: 3px solid rgba(91, 61, 240, .35); }
.stars-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-in input { position: absolute; opacity: 0; pointer-events: none; }
.stars-in label { font-size: 34px; line-height: 1; color: #E5E7EB; cursor: pointer; transition: color .1s, transform .1s; }
.stars-in label:hover, .stars-in label:hover ~ label, .stars-in input:checked ~ label { color: #F59E0B; }
.stars-in label:active { transform: scale(.92); }
.stars-in input:focus-visible + label { outline: 3px solid rgba(91, 61, 240, .35); border-radius: 6px; }
.f-msg { margin: 0; font-size: 14.5px; font-weight: 600; min-height: 1px; }
.f-msg.bad { color: #B42318; } .f-msg.ok { color: var(--ok); }
.done-box { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 8px 0; }
.done-box .ok-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-size: 26px; }
.done-box h2 { font-size: 24px; }
.done-box p { margin: 0; color: var(--ink-2); }
.keybox { width: 100%; display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--blue-soft); border: 1.5px dashed #9DB8FB; }
.keybox code { flex: 1; font: 700 16px/1.3 var(--mono); letter-spacing: .04em; word-break: break-all; text-align: left; }
.rv-list-wrap { max-width: 1040px; margin: 72px auto 0; }
.rv-list-wrap h2 { text-align: center; font-size: clamp(24px, 3vw, 32px); }
.rv-list-wrap .rv-grid { margin-top: 28px; }
.rv-empty { text-align: center; color: var(--muted); margin-top: 20px; }
@media (max-width: 560px) { .fcard { padding: 20px; border-radius: 18px; } .types span { font-size: 13px; padding: 10px 4px; } }
[hidden] { display: none !important; }

/* 무료 코드를 받은 뒤 AKIVO 다이어리 안내 창 (2026-11-29) */
dialog.xsell { width: min(400px, 100% - 32px); overflow: hidden; }
.xsell .xs-img { display: block; background: #f3efe8; }
.xsell .xs-img img { display: block; width: 100%; height: auto; max-height: 46vh; object-fit: cover; object-position: top; }
.xsell .xs-body { padding: 18px 20px 16px; display: grid; gap: 10px; text-align: center; }
.xsell .xs-tag { justify-self: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #b4532a; background: #fbeee6; border-radius: 999px; padding: 4px 10px; }
.xsell h2 { font-size: 18px; line-height: 1.35; margin: 0; }
.xsell p { margin: 0; color: var(--muted, #5b6170); font-size: 14px; line-height: 1.55; white-space: pre-line; }
.xsell .xs-close { background: none; border: 0; color: var(--muted, #5b6170); font: inherit; font-size: 13px; padding: 6px; cursor: pointer; justify-self: center; }
.xsell .xs-close:hover { color: var(--ink); text-decoration: underline; }

/* 설치 안내 창 (assets/install.js, 2026-11-29) */
dialog.iguide { width: min(520px, 100% - 32px); max-height: calc(100vh - 32px); overflow: auto; }
.iguide .ig-body { padding: 22px 22px 16px; display: grid; gap: 12px; }
.iguide h2 { font-size: 19px; line-height: 1.35; margin: 0; }
.ig-lead { margin: 0; color: var(--muted, #5b6170); font-size: 14px; line-height: 1.55; }
.ig-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.ig-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.ig-n { width: 26px; height: 26px; border-radius: 999px; background: var(--blue-soft, #EEF4FF); color: #4527D6; font: 700 13px/26px inherit; text-align: center; }
.ig-h { display: block; font-size: 15px; margin: 2px 0 3px; }
.ig-steps p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink); }
.ig-steps small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--muted, #5b6170); }
.ig-steps kbd { font: 600 12px/1 var(--mono, monospace); border: 1px solid #d5d9e0; border-bottom-width: 2px; border-radius: 5px; padding: 1px 5px; background: #fff; }
.ig-cmd { margin-top: 8px; display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 12px; border-radius: 10px; background: #0f1115; }
.ig-cmd code { flex: 1; min-width: 0; color: #e8ecf3; font: 500 12.5px/1.45 var(--mono, monospace); word-break: break-all; }
.ig-copy { flex: none; border: 0; border-radius: 8px; padding: 7px 11px; background: #5B3DF0; color: #fff; font: 600 13px/1 inherit; cursor: pointer; }
.ig-help { margin: 0; text-align: center; font-size: 12.5px; }
.ig-help a { color: var(--muted, #5b6170); }
[data-install-steps] .ig-steps { margin-top: 4px; }
.st-msg { margin: 0; min-height: 1.2em; font-size: 13.5px; color: #4527D6; text-align: center; }

/* NUBIDECK — 스트림덱 화면 틀 · 화면 모음 · 휴식 모드 */
.deck { background: radial-gradient(120% 90% at 50% 0%, #2a2350 0%, #12131a 62%); border-radius: 14px; }
.deck-grid, .scene-grid { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deck-grid > li, .scene-grid > li { min-width: 0; }
.deck-grid .deck { aspect-ratio: 16 / 10.6; display: grid; place-items: center; padding: 14px; box-shadow: 0 0 0 1px rgba(16, 24, 40, .08), 0 18px 40px -18px rgba(16, 24, 40, .45); }
.deck-grid .deck img { width: 100%; height: auto; display: block; }
.deck-grid h3 { margin: 16px 0 4px; font-size: 17px; }
.deck-grid p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.rest { background: #0d0e14; color: #F2F3F7; }
.rest .sub, .rest .kicker { color: #A9ADBD; }
.rest h2 { color: #fff; }
.scene-grid li { position: relative; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.scene-grid img { display: block; width: 100%; height: auto; }
.scene-grid span { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.demo { background: #0b0c12; }
@media (max-width: 860px) { .deck-grid, .scene-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 520px) { .deck-grid { grid-template-columns: 1fr; } }
/* Mac 하나뿐이라 가운데 한 장 */
.cards { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }
