/* ScreenTrail 웹 - 페이지 레이아웃과 디자인 토큰.
   모서리 규칙: 카드·패널 20px, 입력칸·작은 타일 12px, 버튼·칩·탭은 완전한 알약형.
   강조색은 ScreenTrail 블루(#1f6feb) 하나만 쓴다. 앱 화면 데모(.st)는 demos.css가 그린다. */

:root {
  --bg: #f5f6f8;
  --bg-tint: #eceff3;
  --surface: #fdfdfe;
  --surface-2: #f0f2f5;
  --ink: #0e1116;
  --ink-2: #3a414c;
  --muted: #5d6673;
  --line: #e0e4ea;
  --line-strong: #b6bfcb;
  --accent: #1f6feb;
  --accent-hover: #1a5fd0;
  --accent-ink: #1757c2;
  --accent-soft: #e6eefd;
  --danger: #c0392b;
  --shadow: 222 40% 22%;
  --nav-h: 64px;
  --r-lg: 20px;
  --r-md: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d11;
    --bg-tint: #10131a;
    --surface: #151920;
    --surface-2: #1c212a;
    --ink: #eef1f5;
    --ink-2: #c4cbd5;
    --muted: #99a2af;
    --line: #262c36;
    --line-strong: #444d5b;
    --accent-hover: #3a7cf0;
    --accent-ink: #86b0ff;
    --accent-soft: rgba(61, 123, 255, .16);
    --danger: #ff8f84;
    --shadow: 222 60% 2%;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d11;
  --bg-tint: #10131a;
  --surface: #151920;
  --surface-2: #1c212a;
  --ink: #eef1f5;
  --ink-2: #c4cbd5;
  --muted: #99a2af;
  --line: #262c36;
  --line-strong: #444d5b;
  --accent-hover: #3a7cf0;
  --accent-ink: #86b0ff;
  --accent-soft: rgba(61, 123, 255, .16);
  --danger: #ff8f84;
  --shadow: 222 60% 2%;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, 'Malgun Gothic', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { letter-spacing: -.03em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn i { font-size: 19px; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(31, 111, 235, .7); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-sm i { font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.icon-btn {
  width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; transition: background-color .2s, transform .2s var(--ease);
}
.icon-btn i { font-size: 19px; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(.94); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-ink); font-weight: 700; text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--bg); backdrop-filter: none; } }
.nav-in {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.03em; text-decoration: none; }
.nav-end { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }

.tabs {
  position: relative; display: flex; padding: 4px; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
}
.tabs a {
  position: relative; z-index: 1; padding: 7px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color .25s;
}
.tabs a:hover, .tabs a[aria-current="true"] { color: var(--ink); }
.tabs-ind {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--ind-w, 0);
  transform: translateX(var(--ind-x, 0)); border-radius: 999px;
  background: var(--surface); box-shadow: 0 1px 2px hsl(var(--shadow) / .12), 0 4px 12px -4px hsl(var(--shadow) / .18);
  transition: transform .45s var(--ease), width .45s var(--ease);
}

@media (max-width: 760px) {
  :root { --nav-h: 112px; }
  .nav-in { grid-template-columns: 1fr auto; grid-template-rows: 60px 48px; height: auto; padding: 0 16px; row-gap: 0; }
  .tabs { grid-column: 1 / -1; grid-row: 2; margin-bottom: 8px; }
  .tabs a { flex: 1; text-align: center; padding: 6px 4px; }
}
@media (max-width: 480px) { .nav-cta { display: none; } }

/* ---------- groups & sections ---------- */
.group, section[id] { scroll-margin-top: var(--nav-h); }
.block { padding: 112px 0; }
.block-tint { background: var(--bg-tint); }
/* 후기(배경 없음) 바로 뒤의 다운로드 카드는 여백이 두 배가 되지 않게 붙인다 */
#download > .block:first-child { padding-top: 0; }
@media (max-width: 640px) { .block { padding: 72px 0; } }

.sec-head { max-width: 46em; margin-bottom: 48px; }
.sec-head h2, .keys-copy h2, .get h2, .faq-head h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.6rem); font-weight: 800; line-height: 1.25; margin-bottom: 14px;
}
.sec-head p, .sec-lead { color: var(--muted); font-size: 17px; }
.eyebrow { color: var(--accent-ink); font-size: 14px; font-weight: 800; margin-bottom: 10px; }
h2 em { font-style: normal; color: var(--accent-ink); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.hero-copy { max-width: 52em; margin: 0 auto; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
  font-size: 13.5px; font-weight: 700;
}
.hero h1 {
  font-size: clamp(2.1rem, 1.3rem + 2.5vw, 3.35rem); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { color: var(--ink-2); font-size: 17px; line-height: 1.75; max-width: 34em; margin: 0 auto 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy .cta-row { justify-content: center; }

.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  background: #0b0d11; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -36px hsl(var(--shadow) / .55), 0 12px 24px -12px hsl(var(--shadow) / .25);
}
.player video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .hero { padding: 40px 0 72px; }
  .hero-grid { gap: 40px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-media { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-media { animation-delay: .22s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- 10가지 도구 ---------- */
.tools { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.tools-list { display: flex; flex-direction: column; gap: 4px; }
.tools-list button {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px;
  border: 1px solid transparent; border-radius: var(--r-md); background: none; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--ink-2); text-align: left;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.tools-list button i {
  width: 36px; height: 36px; display: grid; place-items: center; flex: none;
  border-radius: 10px; background: var(--surface-2); color: var(--muted); font-size: 19px;
  transition: background-color .2s, color .2s, transform .3s var(--ease);
}
.tools-list button:hover { background: var(--surface-2); color: var(--ink); }
.tools-list button[aria-selected="true"] {
  background: var(--surface); color: var(--ink); font-weight: 700; border-color: var(--line);
  box-shadow: 0 10px 24px -14px hsl(var(--shadow) / .35);
}
.tools-list button[aria-selected="true"] i { background: var(--accent-soft); color: var(--accent); transform: scale(1.04); }
.tools-stage { position: sticky; top: calc(var(--nav-h) + 24px); }
.tool-panel { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .tools { grid-template-columns: 1fr; gap: 20px; }
  .tools-list {
    flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; gap: 8px;
    margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none;
  }
  .tools-list::-webkit-scrollbar { display: none; }
  .tools-list button {
    width: auto; flex: none; scroll-snap-align: start; border-radius: 999px; padding: 6px 14px 6px 6px; gap: 8px;
    border-color: var(--line); background: var(--surface); font-size: 14.5px;
  }
  .tools-list button i { width: 30px; height: 30px; border-radius: 999px; font-size: 16px; }
  .tools-stage { position: static; }
}

/* ---------- 필요한 순간 (기능 탭) ---------- */
/* 탭마다 색이 다르다. 짙은 글자색과 옅은 배경은 라이트/다크 모두 --ink, --surface와 섞어서 만든다. */
.fx-tabs { --fa: var(--accent); }
#fx-tab-1, #fx-1 { --fa: #1f6feb; }
#fx-tab-2, #fx-2 { --fa: #7c3aed; }
#fx-tab-3, #fx-3 { --fa: #e5484d; }
#fx-tab-4, #fx-4 { --fa: #0d9488; }
.fx-nav button, .fx-panel {
  --fa-ink: color-mix(in srgb, var(--fa) 72%, var(--ink));
  --fa-soft: color-mix(in srgb, var(--fa) 13%, var(--surface));
}
.fx-nav {
  display: flex; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 8px; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 12px 30px -16px hsl(var(--shadow) / .3);
}
.fx-nav button {
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 112px; padding: 14px 20px 12px;
  border: 0; border-radius: 999px; background: none; cursor: pointer; color: var(--muted);
  font-size: 15px; font-weight: 700; transition: background-color .25s, color .25s;
}
.fx-nav button i { font-size: 26px; transition: transform .3s var(--ease); }
.fx-nav button:hover { color: var(--fa-ink); }
.fx-nav button:hover i { transform: translateY(-2px); }
.fx-nav button[aria-selected="true"] { background: var(--fa-soft); color: var(--fa-ink); }
.fx-panel {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-height: 380px; overflow: hidden;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  animation: panelIn .45s var(--ease);
}
.fx-vis {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 24px; text-align: center;
  background:
    radial-gradient(circle, hsl(var(--shadow) / .12) 1px, transparent 1.4px) 0 0 / 16px 16px,
    radial-gradient(120% 90% at 15% 0%, color-mix(in srgb, var(--fa) 24%, transparent), transparent 62%),
    var(--fa-soft);
}
.fx-icon {
  position: relative; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 24px;
  background: var(--surface); color: var(--fa); font-size: 34px;
  box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--fa) 60%, transparent);
}
.fx-icon::before {
  content: ''; position: absolute; inset: -8px; border-radius: 30px; border: 2px solid var(--fa); opacity: .25;
}
.fx-vis-label { margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--fa-ink); }
.fx-chips { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 340px; }
.fx-chips li {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  box-shadow: 0 6px 16px -10px hsl(var(--shadow) / .4);
}
.fx-chips li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 999px; background: var(--fa); }
.fx-text { display: flex; flex-direction: column; justify-content: center; padding: 48px 56px; }
.fx-text h3 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.fx-text p { color: var(--muted); font-size: 17px; line-height: 1.85; max-width: 30em; }
@media (prefers-reduced-motion: no-preference) {
  .fx-icon { animation: fxFloat 3.4s ease-in-out infinite alternate; }
  .fx-icon::before { animation: fxRing 2.8s ease-out infinite; }
}
@keyframes fxFloat { to { transform: translateY(-7px); } }
@keyframes fxRing { 0% { opacity: .4; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
@media (max-width: 800px) {
  .fx-nav { width: 100%; gap: 2px; padding: 5px; border-radius: 22px; }
  .fx-nav button { flex: 1; min-width: 0; padding: 10px 2px 9px; font-size: 12.5px; border-radius: 17px; gap: 5px; }
  .fx-nav button i { font-size: 22px; }
  .fx-panel { grid-template-columns: 1fr; min-height: 0; }
  .fx-text { padding: 28px 22px 32px; }
  .fx-text h3 { font-size: 22px; }
  .fx-text p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .fx-panel { animation: none; } }

/* ---------- 단축키 ---------- */
.keys { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.keys-copy .sec-lead { margin-bottom: 32px; }
.keys-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.keylist { list-style: none; padding: 0; display: grid; gap: 10px; }
.keylist li {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
}
.keylist li::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0);
}
.keylist b { font-size: 16px; font-weight: 700; white-space: nowrap; }
.keylist span { display: flex; gap: 5px; }
kbd {
  min-width: 32px; padding: 3px 8px; text-align: center;
  font-family: 'Segoe UI', ui-monospace, Consolas, sans-serif; font-size: 13px; font-weight: 600; line-height: 1.4;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-strong); border-bottom-width: 3px; border-radius: 8px;
}
@media (prefers-reduced-motion: no-preference) {
  .keylist li, .keylist li::before, .keylist kbd { animation: 8s infinite; }
  .keylist li { animation-name: keyRow; }
  .keylist li::before { animation-name: keyBar; }
  .keylist kbd { animation-name: keyPress; }
  .keylist li:nth-child(2), .keylist li:nth-child(2)::before, .keylist li:nth-child(2) kbd { animation-delay: 2s; }
  .keylist li:nth-child(3), .keylist li:nth-child(3)::before, .keylist li:nth-child(3) kbd { animation-delay: 4s; }
  .keylist li:nth-child(4), .keylist li:nth-child(4)::before, .keylist li:nth-child(4) kbd { animation-delay: 6s; }
  .keylist li:nth-child(1) kbd:nth-child(2) { animation-delay: .14s; }
  .keylist li:nth-child(1) kbd:nth-child(3) { animation-delay: .28s; }
  .keylist li:nth-child(1) kbd:nth-child(4) { animation-delay: .42s; }
  .keylist li:nth-child(2) kbd:nth-child(2) { animation-delay: 2.14s; }
  .keylist li:nth-child(2) kbd:nth-child(3) { animation-delay: 2.28s; }
  .keylist li:nth-child(3) kbd:nth-child(2) { animation-delay: 4.14s; }
  .keylist li:nth-child(3) kbd:nth-child(3) { animation-delay: 4.28s; }
  .keylist li:nth-child(4) kbd:nth-child(2) { animation-delay: 6.14s; }
  .keylist li:nth-child(4) kbd:nth-child(3) { animation-delay: 6.28s; }
}
@keyframes keyRow {
  0%, 100% { border-color: var(--line); box-shadow: none; }
  4%, 22% { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 12px 26px -14px rgba(31, 111, 235, .45); }
  27% { border-color: var(--line); box-shadow: none; }
}
@keyframes keyBar { 0%, 100% { transform: scaleY(0); } 4%, 22% { transform: scaleY(1); } 27% { transform: scaleY(0); } }
@keyframes keyPress {
  0%, 100% { transform: none; border-bottom-width: 3px; background: var(--surface); color: var(--ink-2); }
  2% { transform: translateY(2px); border-bottom-width: 1px; background: var(--accent-soft); color: var(--accent-ink); }
  4%, 22% { transform: none; border-bottom-width: 3px; background: var(--accent-soft); color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 50%, var(--line-strong)); }
  26% { background: var(--surface); color: var(--ink-2); }
}
.keys-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 700;
}
.keys-demo .kset { min-height: 300px; }
@media (max-width: 900px) {
  .keys { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 420px) {
  .keylist li { padding: 13px 14px; }
  .keylist b { font-size: 14.5px; }
  kbd { min-width: 0; padding: 2px 6px; font-size: 12px; }
  .keylist span { gap: 3px; }
}

/* ---------- 편의 기능 ---------- */
.perks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 44px 24px; }
.perk { grid-column: span 3; }
.perk-lg { grid-column: span 6; }
.perk-vis .pv { transition: transform .45s var(--ease), box-shadow .45s; }
.perk:hover .perk-vis .pv { transform: translateY(-4px); box-shadow: 0 22px 40px -22px hsl(var(--shadow) / .5); }
.perk-loc { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.perk h3 { font-size: 19px; font-weight: 800; margin: 4px 0 8px; }
.perk-lg h3 { font-size: 22px; }
.perk > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.7; }
@media (max-width: 1000px) { .perk, .perk-lg { grid-column: span 6; } }
@media (max-width: 600px) { .perk, .perk-lg { grid-column: span 12; } .perks { row-gap: 40px; } }

/* ---------- 후기 ---------- */
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head-row > div:first-child { max-width: 46em; }
.note { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px !important; }
.rail-btns { display: flex; gap: 8px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 84%); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.quote {
  scroll-snap-align: start; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
}
.quote-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.stars { color: var(--ink); letter-spacing: 2px; font-size: 15px; }
.star-off { color: var(--line-strong); }
.tag-ex { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; }
.quote h3 { font-size: 18px; font-weight: 800; line-height: 1.45; margin-bottom: 10px; }
.quote blockquote { color: var(--ink-2); font-size: 15px; line-height: 1.75; margin-bottom: 24px; }
.quote blockquote b { color: var(--ink); background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }
.quote figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.quote figcaption span { font-size: 14.5px; font-weight: 700; }
.quote figcaption small { font-size: 13px; font-weight: 600; color: var(--accent-ink); }
@media (max-width: 640px) { .rail-btns { display: none; } .rail { margin: 0 -16px; padding: 4px 16px 16px; scroll-padding: 0 16px; } }

/* ---------- 다운로드 ---------- */
.get {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 100% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(50% 70% at 0% 0%, color-mix(in srgb, #7a5cff 12%, transparent), transparent 70%),
    var(--surface);
}
.get-copy { padding: 64px 0 64px 56px; align-self: center; }
.get-copy > p:first-of-type { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.get-file { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 13.5px; color: var(--muted); font-family: 'Segoe UI', ui-monospace, Consolas, sans-serif; }
.get-vis { align-self: end; padding: 48px 40px 0 0; }
.get-vis .win { margin: 0 !important; max-width: none; }
.st .w-tb .ct .win-min { width: 10px; height: 1px; background: currentColor; align-self: center; }
@media (max-width: 900px) {
  .get { grid-template-columns: 1fr; gap: 0; }
  .get-copy { padding: 40px 24px 8px; }
  .get-vis { padding: 32px 20px 0; }
}

/* ---------- 설치 ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step {
  display: flex; flex-direction: column; padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.step-head { display: flex; gap: 14px; margin-bottom: 18px; }
.step-n {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 800;
}
.step h3 { font-size: 17px; font-weight: 800; line-height: 1.4; }
.step-head p { font-size: 14.5px; color: var(--muted); }
.step-shot { margin-top: auto; }
.st.step-shot .ss { height: 128px; font-size: 11px; }
.help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.help h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.help-why {
  display: flex; gap: 16px; padding: 24px; border-radius: var(--r-lg);
  background: var(--accent-soft); color: var(--ink-2);
}
.help-why > i { font-size: 28px; color: var(--accent); flex: none; }
.help-why p { font-size: 15px; }
.help-fix { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.help-fix dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 15px; }
.help-fix dt { font-weight: 700; }
.help-fix dd { color: var(--muted); }
@media (max-width: 900px) {
  .steps, .help { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .help-fix dl { grid-template-columns: 1fr; gap: 0; } .help-fix dd { margin-bottom: 10px; } }

/* ---------- 버전 히스토리 ---------- */
.history > * { max-width: 880px; }
.versions { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.versions details { border-bottom: 1px solid var(--line); }
.versions details:last-child { border-bottom: 0; }
.versions summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 22px 8px; font-size: 18px; font-weight: 800; transition: background-color .2s;
}
.versions summary::-webkit-details-marker { display: none; }
.versions summary:hover { background: var(--surface-2); }
.versions summary em {
  font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 9px;
}
.versions summary i { margin-left: auto; color: var(--muted); transition: transform .3s var(--ease); }
.versions details[open] summary i { transform: rotate(180deg); }
.v-body { padding: 0 8px 26px; }
.v-body time { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.v-body ul { padding-left: 20px; color: var(--ink-2); }
.v-body li { margin: 6px 0; font-size: 15.5px; }
.v-body li::marker { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-head p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.faq-group { font-size: 14px; font-weight: 800; color: var(--accent-ink); margin: 40px 0 6px; }
.faq-group:first-child { margin-top: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-size: 16.5px; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { flex: none; font-size: 18px; color: var(--muted); transition: transform .3s var(--ease); }
.faq-list details[open] summary i { transform: rotate(45deg); color: var(--accent); }
.faq-list details p { padding: 0 32px 20px 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq-head { position: static; }
}

/* ---------- 댓글 ---------- */
.comments > * { max-width: 880px; }
.c-form { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14.5px; font-weight: 700; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.6; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field input { max-width: 320px; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-help { font-size: 13px; color: var(--muted); text-align: right; }
.field-err { font-size: 13.5px; font-weight: 600; color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.c-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.c-status { font-size: 14px; color: var(--muted); }
.c-status.is-error { color: var(--danger); font-weight: 600; }

.c-count { font-size: 19px; font-weight: 800; margin: 48px 0 4px; }
.c-count span { color: var(--accent-ink); }
.c-list { list-style: none; padding: 0; }
.c-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.c-item.is-new { animation: rise .6s var(--ease); }
.c-av {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; font-size: 16px;
}
.c-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.c-meta b { font-size: 15.5px; }
.c-meta time { font-size: 13px; color: var(--muted); }
.c-body { margin-top: 4px; white-space: pre-wrap; color: var(--ink-2); font-size: 15.5px; }
.c-skel { display: grid; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.c-skel span { height: 12px; border-radius: 6px; background: var(--surface-2); }
.c-skel span:nth-child(1) { width: 120px; }
.c-skel span:nth-child(3) { width: 60%; }
@media (prefers-reduced-motion: no-preference) {
  .c-skel span {
    background: linear-gradient(90deg, var(--surface-2) 30%, var(--line) 50%, var(--surface-2) 70%) 0 0 / 300% 100%;
    animation: shimmer 1.4s linear infinite;
  }
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.c-empty, .c-error {
  display: grid; justify-items: center; gap: 10px; text-align: center; margin-top: 16px;
  padding: 44px 20px; border-radius: var(--r-lg); background: var(--surface-2); color: var(--muted);
}
.c-empty i, .c-error i { font-size: 34px; }
.c-error i { color: var(--danger); }
@media (max-width: 640px) {
  .c-form { padding: 20px; }
  .c-actions { flex-direction: column-reverse; align-items: stretch; }
  .c-actions .btn { width: 100%; }
}

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot-in p { color: var(--muted); font-size: 14.5px; margin-right: auto; }
.foot .brand { font-size: 16px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; text-align: center;
  box-shadow: 0 16px 36px -12px hsl(var(--shadow) / .5);
}
.toast.is-show { animation: toastIn .45s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- 스크롤 등장 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- 데모 보정 ---------- */
.st { font-family: 'Segoe UI', 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif; }
/* 화면 밖 데모 애니메이션은 멈춰서 배터리·CPU를 아낀다 */
[data-anim].is-off *, [data-anim].is-off *::before, [data-anim].is-off *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .st *, .st *::before, .st *::after { animation: none !important; transition: none !important; }
  .tool-panel, .toast.is-show, .c-item.is-new { animation: none; }
}
