/* ==========================================================================
   스타트클리너 랜딩 — index.php 전용. 모든 클래스는 sc- 접두어 (밝은 바탕, 앱 강조색 #3d84dd)
   프로그램 창 안(.sc-win)은 앱 css 를 옮긴 app.css — 여기에는 창 크기 · 페이지 쪽 맞춤만
   ========================================================================== */

:root {
	--bg: #f5f8fd;
	--bg-2: #e8eef8;
	--surface: #fff;
	--line: rgba(15, 23, 42, .08);
	--line-2: rgba(15, 23, 42, .15);
	--text: #0f172a;
	--muted: #475569;
	--faint: #8a96a8;
	--acc: #2563eb;
	--acc-2: #60a5fa;
	--acc-deep: #1d4ed8;
	--acc-dim: rgba(37, 99, 235, .1);
	--blue: #3d84dd;
	--pin: #f59e0b;
	--wrap: 1160px;
	--top: 64px;
	--font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
	--mono: ui-monospace, "Cascadia Mono", Consolas, "D2Coding", "Pretendard Variable", monospace;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); -webkit-text-size-adjust: 100%; }
body.sc {
	margin: 0; background: var(--bg); color: var(--text);
	font: 16px/1.7 var(--font); letter-spacing: -.01em; word-break: keep-all; overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--acc-deep); text-underline-offset: 3px; }
b, strong { font-weight: 700; color: var(--text); }
code { font-family: var(--mono); font-size: .86em; background: var(--bg-2); padding: .1em .4em; border-radius: 6px; color: #1e40af; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.sc-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sc-narrow { max-width: 820px; }
.sc-small { font-size: 14px; color: var(--muted); }
.sc-skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100; background: var(--acc); color: #fff; padding: 8px 14px; border-radius: 8px; }
.sc-skip:focus { top: 8px; }

/* ---------- 버튼 · 배지 ---------- */
.sc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
	background: linear-gradient(180deg, #3b82f6, #1f56d6); color: #fff;
	font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
	box-shadow: 0 10px 26px -12px rgba(37, 99, 235, .8), inset 0 1px 0 rgba(255,255,255,.25);
	transition: transform .2s, box-shadow .2s;
}
.sc-btn svg { width: 20px; height: 20px; }
.sc-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(37, 99, 235, .9), inset 0 1px 0 rgba(255,255,255,.25); }
.sc-btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.sc-btn--ghost:hover { background: var(--bg-2); box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.sc-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.sc-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--acc-dim); color: var(--acc-deep); white-space: nowrap; }
.sc-badge--off { background: var(--bg-2); color: var(--muted); }

/* ---------- 상단 ---------- */
.sc-top {
	position: sticky; top: 0; z-index: 50; height: var(--top);
	background: rgba(245, 248, 253, .8); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
	border-bottom: 1px solid transparent; transition: border-color .3s;
}
.sc-top.is-stuck { border-bottom-color: var(--line); }
.sc-top__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.sc-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; text-decoration: none; margin: 0; }
.sc-brand__icon { width: 20px; height: 20px; }
.sc-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.sc-nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.sc-nav a:hover { color: var(--text); background: var(--bg-2); }

/* ---------- HERO ---------- */
.sc-hero { position: relative; overflow: hidden; padding: 72px 0 88px; isolation: isolate; }
.sc-hero::before {
	content: ""; position: absolute; inset: -30% -10% auto; height: 130%; z-index: -1;
	background:
		radial-gradient(44% 46% at 74% 42%, rgba(96, 165, 250, .16), transparent 70%),
		radial-gradient(30% 30% at 12% 80%, rgba(245, 158, 11, .07), transparent 70%);
}
.sc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sc-tags { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sc-tags li { font-size: 13px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); padding: 4px 12px; border-radius: 99px; background: rgba(255,255,255,.7); }
.sc-hero__title { font-size: clamp(34px, 4.3vw, 52px); font-weight: 800; letter-spacing: -.045em; margin-bottom: 24px; }
.sc-hero__title--long { font-size: clamp(30px, 3.8vw, 46px); }
.sc-hero__title em { font-style: normal; color: var(--acc); }
.sc-line { display: block; }
.sc-hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.sc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.sc-hero__meta { font-size: 14px; color: var(--faint); margin: 0; }

.sc-hero__visual { position: relative; padding: 24px 0 40px; }
.sc-chip {
	position: absolute; margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
	background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(15,23,42,.35); font-size: 14px; color: var(--muted); white-space: nowrap;
}
.sc-chip img { width: 20px; height: 20px; flex: none; }

/* 첫 화면 등장 (JS 가 있을 때만) */
.sc-js .sc-line, .sc-js .sc-tags, .sc-js .sc-hero__lead, .sc-js .sc-cta, .sc-js .sc-hero__meta, .sc-js .sc-hero__visual {
	animation: sc-rise .9s cubic-bezier(.2,.7,.2,1) both;
}
.sc-js .sc-tags { animation-delay: .05s; }
.sc-js .sc-line:nth-child(1) { animation-delay: .12s; }
.sc-js .sc-line:nth-child(2) { animation-delay: .22s; }
.sc-js .sc-hero__lead { animation-delay: .34s; }
.sc-js .sc-cta { animation-delay: .44s; }
.sc-js .sc-hero__meta { animation-delay: .52s; }
.sc-js .sc-hero__visual { animation-duration: 1.2s; animation-delay: .2s; }
@keyframes sc-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes sc-pop { from { opacity: 0; transform: scale(.85) translateY(10px); } }

/* ---------- 섹션 공통 ---------- */
.sc-sec { padding: 112px 0; border-top: 1px solid var(--line); }
.sc-head { text-align: center; margin: 0 auto 56px; max-width: 760px; }
.sc-ad { margin-top: 24px; line-height: 0; }
.sc-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.sc-caption { text-align: center; font-size: 13px; color: var(--faint); margin: 28px auto 0; max-width: 780px; text-wrap: balance; }

.sc-js .sc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.sc-js .sc-reveal.is-in { opacity: 1; transform: none; }

/* ---------- 격자 ---------- */
.sc-grid { display: grid; gap: 16px; }
.sc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 카드 ---------- */
.sc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: border-color .3s, box-shadow .3s; }
.sc-card:hover { border-color: var(--line-2); box-shadow: 0 20px 40px -30px rgba(30, 58, 138, .45); }
.sc-card h3 { font-size: 18px; margin: 12px 0 6px; }
.sc-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- 아코디언 ---------- */
.sc-acc { display: grid; gap: 10px; }
.sc-acc details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .3s; }
.sc-acc details[open] { border-color: var(--line-2); }
.sc-acc summary { list-style: none; cursor: pointer; padding-block: 18px; padding-inline: 22px 52px; position: relative; font-weight: 700; font-size: 16px; }
.sc-acc summary::-webkit-details-marker { display: none; }
.sc-acc summary::after { content: ""; position: absolute; inset-inline-end: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.sc-acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.sc-acc details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- DOWNLOAD ---------- */
.sc-down { background: radial-gradient(60% 60% at 50% 0%, rgba(96, 165, 250, .1), transparent 70%), var(--bg); }
.sc-dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; max-width: 900px; margin: 0 auto; }
.sc-dl__card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.sc-dl__card h3 { font-size: 22px; }
.sc-dl__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; flex: 1; }
.sc-dl__card ul li { padding-inline-start: 20px; position: relative; }
.sc-dl__card ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.sc-dl__card--main { border-color: rgba(37, 99, 235, .4); background: linear-gradient(180deg, #eef4fe, var(--surface) 60%); box-shadow: 0 24px 50px -36px rgba(37, 99, 235, .6); }
.sc-dl__card--main h3 { display: flex; align-items: center; gap: 10px; }
.sc-dl__card .sc-btn { align-self: stretch; white-space: normal; text-align: center; padding-block: 10px; }
.sc-req { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--muted); font-size: 14px; }
.sc-req b { margin-inline-end: 4px; }
.sc-hist { max-width: 820px; margin: 36px auto 0; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; background: var(--surface); }
.sc-hist summary { cursor: pointer; padding: 16px 0; font-weight: 700; }
.sc-hist__item { padding: 12px 0; border-top: 1px solid var(--line); }
.sc-hist__item p { margin: 0 0 6px; }
.sc-hist__item time { color: var(--faint); font-size: 14px; margin-inline-start: 6px; }
.sc-hist__item ul { margin: 0; padding-inline-start: 20px; color: var(--muted); font-size: 14.5px; }
.sc-hist > .sc-small { border-top: 1px solid var(--line); padding: 14px 0 18px; margin: 0; }

/* ---------- 바닥 ---------- */
.sc-foot { border-top: 1px solid var(--line); padding: 40px 0 56px; background: #fff; }
.sc-foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.sc-foot__in p { margin: 0 0 4px; }
.sc-foot .sc-brand a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.sc-foot .sc-brand a:hover { color: var(--acc-deep); }
.sc-foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.sc-foot__links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.sc-foot__links a:hover { color: var(--text); }

/* ---------- 언어 선택 ---------- */
.sc-lang { position: relative; margin-inline-start: 4px; }
.sc-lang summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
	border-radius: 10px; border: 1px solid var(--line-2); color: var(--muted); font-size: 14px; white-space: nowrap; background: rgba(255,255,255,.6);
}
.sc-lang summary::-webkit-details-marker { display: none; }
.sc-lang summary:hover, .sc-lang[open] summary { color: var(--text); background: #fff; }
.sc-lang summary svg { width: 17px; height: 17px; }
.sc-lang ul {
	position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 6px;
	display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 2px;
	background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(15,23,42,.35);
}
.sc-lang a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.sc-lang a:hover { background: var(--bg-2); color: var(--text); }
.sc-lang a[aria-current="page"] { color: var(--acc-deep); font-weight: 700; }

/* ---------- 언어별 서체 · 방향 ---------- */
:root:lang(ja) { --font: "Pretendard JP Variable", "Pretendard Variable", "Hiragino Sans", "Yu Gothic UI", Meiryo, system-ui, sans-serif; }
:root:lang(zh-Hans) { --font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Pretendard Variable", system-ui, sans-serif; }
:root:lang(ar) { --font: "Pretendard Variable", "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; }
:root:lang(th) { --font: "Pretendard Variable", "Leelawadee UI", "Noto Sans Thai", Tahoma, system-ui, sans-serif; }
:root:lang(ja) body.sc, :root:lang(zh-Hans) body.sc, :root:lang(th) body.sc { word-break: normal; line-break: strict; }
:root:lang(ar) .sc-hero__title, :root:lang(ar) .sc-head h2, :root:lang(th) .sc-hero__title { letter-spacing: 0; line-height: 1.4; }
:root:lang(ar) body.sc { letter-spacing: 0; }

/* ---------- kilho.net 첫 화면 링크: 다운로드 아래 (LANDING-PAGE.md 10-1) ---------- */
.sc-more img { width: 16px; height: 16px; flex: none; }
.sc-more { margin: 32px 0 0; text-align: center; }
.sc-more a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color .2s, transform .2s; }
.sc-more a:hover { transform: translateY(-2px); }
.sc-more a::after { content: "→"; color: var(--muted); }
[dir="rtl"] .sc-more a::after { content: "←"; }

/* ---------- 첫 화면 칩 ---------- */
.sc-chip { color: var(--text); font-weight: 600; }
kbd { font-family: var(--mono); font-size: .82em; padding: .1em .45em; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: #fff; color: var(--text); white-space: nowrap; }
.sc-head > p { color: var(--muted); margin: 14px auto 0; max-width: 680px; }

/* ---------- 기능 카드 ---------- */
.sc-card h3 { margin-top: 14px; }
.sc-card__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--acc-dim); color: var(--acc-deep); }
.sc-card__ic .sc-ic { width: 20px; height: 20px; }

/* ---------- 프로그램 미리보기: 탭 + 창 ---------- */
.sc-appsec { background: linear-gradient(180deg, #fff, var(--bg)); }
.sc-appv { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.sc-appv__side { position: sticky; top: calc(var(--top) + 24px); }
.sc-appv__tabs { display: grid; gap: 10px; }
.sc-appv__tabs [role="tab"] { text-align: start; cursor: pointer; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; transition: border-color .2s, box-shadow .2s; }
.sc-appv__tabs [role="tab"] > b { display: block; font-size: 16px; margin-bottom: 2px; }
.sc-appv__tabs [role="tab"] span { font-size: 14px; line-height: 1.55; display: block; }
.sc-appv__tabs [role="tab"][aria-selected="true"] { border-color: rgba(37, 99, 235, .45); box-shadow: 0 0 0 4px var(--acc-dim); color: var(--text); }
.sc-appv__view {
	min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 40px 24px; border-radius: 24px; overflow: hidden;
	background: radial-gradient(80% 70% at 50% 30%, rgba(96, 165, 250, .14), transparent 70%), linear-gradient(160deg, #e8eef8, #f8fafe);
	border: 1px solid var(--line);
}
.sc-appv__pane { width: 100%; min-width: 0; display: grid; justify-items: center; }
.sc-appv__pane[hidden] { display: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 1020px) {
	.sc-ex3 { grid-template-columns: 1fr; max-width: 520px; }
	.sc-appv { grid-template-columns: 1fr; gap: 20px; }
	.sc-appv__side { position: static; }
	.sc-appv__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	:root { --top: 56px; }
	.sc-wrap { padding: 0 16px; }
	.sc-nav { display: none; }
	.sc-top__in { justify-content: space-between; gap: 10px; }
	.sc-lang, .sc-nav + .sc-lang { margin-inline-start: auto; }
	.sc-lang summary span { display: none; }
	.sc-lang summary { padding: 0 10px; }
	.sc-top__in { position: relative; }
	.sc-lang { position: static; }
	.sc-lang ul { inset-inline-end: 16px; width: min(300px, calc(100vw - 32px)); }   /* 메뉴 목록은 머리줄 오른쪽 끝에 맞춘다 (단추에 맞추면 긴 언어 이름일 때 왼쪽이 잘림) */
	.sc-hero { padding: 40px 0 56px; }
	.sc-hero__grid { grid-template-columns: 1fr; gap: 24px; }
	.sc-chip { padding: 8px 11px; font-size: 13px; }
	.sc-sec { padding: 72px 0; }
	.sc-head { margin-bottom: 36px; }
	.sc-ex3 { grid-template-columns: 1fr; }
	.sc-grid--3 { grid-template-columns: 1fr; }
		.sc-appv__tabs { gap: 6px; }
	.sc-appv__tabs [role="tab"] { padding: 10px; text-align: center; border-radius: 10px; }
	.sc-appv__tabs [role="tab"] b { font-size: 14px; margin: 0; }
	.sc-appv__tabs [role="tab"] span { display: none; }
	.sc-appv__view { padding: 28px 12px; min-height: 0; }
	.sc-dl { grid-template-columns: 1fr; }
	.sc-foot__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
	.sc-hero__title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.sc-js .sc-reveal { opacity: 1; transform: none; }
}

/* 바닥 왼쪽 © KILHO.NET — kilho.net 첫 화면 링크, 글자색은 둘레와 같게 */
.sc-foot .sc-small a { color: inherit; text-decoration: none; }
.sc-foot .sc-small a:hover { color: var(--text); text-decoration: underline; }

/* 바닥 X(트위터) — 글자 대신 로고 */
.sc-foot__links .sc-x { display: inline-flex; align-items: center; height: 100%; }
.sc-foot__links .sc-x svg { width: 15px; height: 15px; }


/* ==========================================================================
   스타트클리너 고유 — 첫 화면 창, 네 곳, 써 보기(주 창 + 작업 관리자), 프로그램 창 틀, Windows 메뉴 · 메시지 상자
   ========================================================================== */

/* ---------- 첫 화면 ---------- */
.sc-hfig { margin: 0; display: grid; justify-items: center; min-width: 0; }
.sc-hero__visual { padding: 28px 0 36px; min-width: 0; }
.sc-chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex: none; }
.sc-chip__dot--ok { background: #2e9d57; }
.sc-chip--a { inset-inline-start: -28px; top: 72%; }
.sc-chip--b { inset-inline-end: -12px; bottom: 0; }
.sc-js .sc-chip--a { animation: sc-pop .7s .9s cubic-bezier(.2,.9,.3,1.3) both; }
.sc-js .sc-chip--b { animation: sc-pop .7s 1.1s cubic-bezier(.2,.9,.3,1.3) both; }

/* ---------- 네 곳 ---------- */
.sc-where { background: linear-gradient(180deg, #fff, var(--bg)); }
.sc-four { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.sc-four__item { position: relative; padding: 22px 20px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.sc-four__item h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 10px; }
.sc-four__item h3 img { width: 22px; height: 22px; flex: none; }
.sc-four__item p { margin: 0; color: var(--muted); font-size: 15px; }
.sc-four__item .sc-four__at { color: var(--text); font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 8px 10px; border-radius: 10px; background: var(--bg-2); }
.sc-four__n { position: absolute; inset-inline-end: 16px; top: 16px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--acc-dim); color: var(--acc-deep); font-size: 12.5px; font-weight: 700; }

/* ---------- 써 보기: 카드 3 + 주 창 + 작업 관리자 ---------- */
.sc-try { background: linear-gradient(180deg, var(--bg), #fff); }
.sc-ex3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto 28px; }
.sc-ex3__card {
	display: block; width: 100%; text-align: start; cursor: pointer; font: inherit; color: var(--muted);
	background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.sc-ex3__card > b { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 4px; }
.sc-ex3__card > b span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--acc-dim); color: var(--acc-deep); font-size: 12.5px; flex: none; }
.sc-ex3__card > span { display: block; font-size: 14px; line-height: 1.55; }
.sc-ex3__card:hover { border-color: rgba(37, 99, 235, .45); }
.sc-ex3__card.is-on { border-color: rgba(37, 99, 235, .55); box-shadow: 0 0 0 4px var(--acc-dim); color: var(--text); }
.sc-ex3__card.is-on > b span { background: var(--acc); color: #fff; }
.sc-stagebox { display: grid; justify-items: center; min-width: 0; }
.sc-stage { position: relative; display: flex; align-items: flex-start; gap: 24px; flex: none; width: max-content; }
.sc-try__keys { text-align: center; margin: 18px auto 0; }
#sc-win { outline: none; }
#sc-win:focus-visible { box-shadow: 0 0 0 3px rgba(37, 99, 235, .35), 0 30px 60px -30px rgba(15, 23, 42, .45); }
#sc-win .list-table tr[data-i], #sc-win .choice, #sc-win .ar-toggle:not(:disabled), #sc-win .sc-menu__i, #sc-win .sc-mb__btn { cursor: pointer; }

/* 작업 관리자 '시작 앱' (Windows 11 밝은 화면을 줄인 것) */
.sc-tm {
	width: 340px; height: 466px; display: flex; flex-direction: column; flex: none; overflow: hidden; background: #f9f9f9; border: 1px solid #d6dbe3; border-radius: 8px;
	box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35); font: 12px/1.4 "Segoe UI", "Malgun Gothic", var(--font); letter-spacing: 0; word-break: normal; text-align: start; color: #1a1a1a;
	-webkit-user-select: none; user-select: none;
}
.sc-tm__in { flex: 1; min-height: 0; display: flex; }
.sc-tm__rail { width: 44px; flex: none; display: grid; align-content: start; gap: 14px; padding: 14px 0; justify-items: center; }
.sc-tm__rail i { width: 16px; height: 16px; border-radius: 4px; background: #d4d8de; }
.sc-tm__rail i.is-on { background: #3d84dd; box-shadow: -10px 0 0 -6px #3d84dd; }
.sc-tm__main { flex: 1; min-width: 0; background: #fff; border-start-start-radius: 8px; border: 1px solid #e5e5e5; border-inline-end: 0; border-bottom: 0; padding: 14px 0 0; }
.sc-tm__main h3 { font-size: 16px; font-weight: 600; margin: 0 16px 12px; letter-spacing: 0; }
.sc-tm table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sc-tm th { font-weight: normal; color: #5f5f5f; text-align: start; padding: 4px 10px; border-bottom: 1px solid #e5e5e5; }
.sc-tm th:last-child, .sc-tm td:last-child { width: 108px; }
.sc-tm td { height: 30px; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-tm td .ic { display: inline-block; width: 16px; height: 16px; margin-inline-end: 8px; vertical-align: middle; }
.sc-tm td span { vertical-align: middle; }
.sc-tm tr.is-flash td { animation: sc-flash 1.4s ease-out; }
.sc-tm tr.is-gone { display: none; }
@keyframes sc-flash { from { background: #cce8ff; } }

/* 탐색기 · 작업 관리자 제목 줄 (Windows 11 밝은 창): 아이콘 · 이름 · 창 단추(검은 선) */
.sc-xcap { display: flex; align-items: center; height: 32px; flex: none; background: #f3f3f3; color: #1a1a1a; }
.sc-xcap__f { width: 16px; height: 16px; margin-inline-start: 12px; flex: none; }
.sc-xcap__t { flex: 1; min-width: 0; padding-inline-start: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-xcap__b { position: relative; width: 46px; height: 32px; flex: none; display: grid; place-items: center; }
.sc-xcap__min::before { content: ""; width: 10px; border-top: 1px solid #1a1a1a; }
.sc-xcap__max::before { content: ""; width: 9px; height: 9px; border: 1px solid #1a1a1a; }
.sc-xcap__x::before, .sc-xcap__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; border-top: 1px solid #1a1a1a; transform: translate(-50%, -50%) rotate(45deg); }
.sc-xcap__x::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- 프로그램 창 틀 (앱 값: 내용 412x432, 제목 줄은 Windows 기본 캡션 — DWM 다크 고정) ---------- */
.sc-win {
	position: relative; display: flex; flex-direction: column; flex: none; width: 414px; border: 1px solid #3d3d3d; text-align: start;
	box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45), 0 2px 6px rgba(15, 23, 42, .08);
	letter-spacing: 0; word-break: normal; overflow-wrap: normal; -webkit-user-select: none; user-select: none; line-height: normal;
}
.sc-win img, .sc-win svg { display: inline-block; max-width: none; }
.sc-win b, .sc-win strong { color: inherit; }
.sc-win .sc-app { height: 432px; flex: none; font-family: "Segoe UI", "Malgun Gothic", var(--font); }
.sc-win .list-table th.ar-name { width: auto; }
.sc-win .list-table .col-fill { width: 0; padding: 0; }
.sc-win .list-table td.col-fill, .sc-win .list-table th.col-fill { border-left-width: 0; }
.sc-win .list-table td span { vertical-align: middle; }
.sc-win .logo { display: block; }
.sc-win .tab { cursor: default; }
.sc-main--static { pointer-events: none; }
.sc-cap { display: flex; align-items: center; height: 31px; flex: none; background: #202020; color: #fff; font: 12px "Segoe UI", "Malgun Gothic", var(--font); }
.sc-cap img { width: 16px; height: 16px; margin-inline-start: 8px; }
.sc-cap__t { flex: 1; min-width: 0; padding-inline-start: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-cap__b { position: relative; width: 46px; height: 31px; flex: none; display: grid; place-items: center; }
.sc-cap__min::before { content: ""; width: 10px; border-top: 1px solid #fff; }
.sc-cap__max::before { content: ""; width: 9px; height: 9px; border: 1px solid #fff; }
.sc-cap__x::before, .sc-cap__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; border-top: 1px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.sc-cap__x::after { transform: translate(-50%, -50%) rotate(-45deg); }
/* 어두운 화면 — 창 테두리도 어둡게 */
.sc-win.is-dark { border-color: #444; }

/* ---------- Windows 기본 메뉴 (밝은 메뉴): 목록 오른쪽 클릭 ---------- */
.sc-menu {
	position: absolute; z-index: 10; display: none; min-width: 140px; padding: 4px; white-space: nowrap; text-align: start;
	background: #f9f9f9; border: 1px solid #dcdcdc; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
	color: #1a1a1a; font: 12px/1.4 "Segoe UI", "Malgun Gothic", var(--font); letter-spacing: 0;
}
.sc-menu.is-open { display: block; }
.sc-menu:not(.can-del) .sc-menu__del { display: none; }
.sc-menu__i { display: flex; align-items: center; min-height: 28px; padding: 4px 24px 4px 30px; border-radius: 4px; }
.sc-menu__i:hover { background: #e9e9e9; }
.sc-menu__sep { border: 0; border-top: 1px solid #e0e0e0; margin: 4px 8px; }

/* ---------- Windows 메시지 상자 (밝은 창) — 창 가운데 ---------- */
.sc-mb {
	position: absolute; z-index: 12; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 352px; display: none; flex-direction: column;
	background: #fff; border: 1px solid #b8bec7; box-shadow: 0 16px 40px rgba(0,0,0,.28); color: #1a1a1a;
	font: 12px/1.45 "Segoe UI", "Malgun Gothic", var(--font); letter-spacing: 0; text-align: start;
}
.sc-mb.is-open { display: flex; }
.sc-mb__cap { display: flex; align-items: center; justify-content: space-between; height: 30px; padding-inline-start: 10px; }
.sc-mb__x { position: relative; width: 46px; height: 30px; }
.sc-mb__x::before, .sc-mb__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; border-top: 1px solid #1a1a1a; transform: translate(-50%, -50%) rotate(45deg); }
.sc-mb__x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sc-mb__body { display: flex; gap: 12px; padding: 14px 20px 22px; }
.sc-mb__ic { width: 32px; height: 32px; flex: none; }
.sc-mb__txt p { margin: 0; }
.sc-mb__txt p + p { margin-top: 12px; }
.sc-mb__name { overflow-wrap: anywhere; }
.sc-mb__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 12px; background: #f0f0f0; }
.sc-mb__btn { min-width: 74px; height: 24px; padding: 0 10px; font: inherit; color: #1a1a1a; background: #fdfdfd; border: 1px solid #d0d0d0; border-radius: 4px; }
.sc-mb__btn:hover { background: #e5f1fb; border-color: #3d84dd; }
.sc-mb__btn.is-def { border-color: #3d84dd; box-shadow: inset 0 0 0 1px #3d84dd; }
/* 메시지 상자가 떠 있는 동안 창 안은 누를 수 없다 (앱 모달) */
.sc-win.is-modal .sc-app { pointer-events: none; }

/* 기능 카드 아이콘 — 단색 선 그림 */
.sc-card__ic::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.sc-card__ic--one { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E"); }
.sc-card__ic--off { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='10' rx='5'/%3E%3Ccircle cx='7' cy='12' r='2.5'/%3E%3C/svg%3E"); }
.sc-card__ic--white { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 7v6c0 4.5 3.4 7.5 8 8 4.6-.5 8-3.5 8-8V7z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.sc-card__ic--name { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Cpath d='M14 5h7M14 8h4M3 14h18M3 19h12'/%3E%3C/svg%3E"); }
.sc-card__ic--delete { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4h8v2M6 6l1 14h10l1-14'/%3E%3C/svg%3E"); }
.sc-card__ic--save { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E"); }

@media (max-width: 1020px) {
	.sc-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.sc-four { grid-template-columns: minmax(0, 1fr); }
	.sc-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.sc-hero__visual { padding-inline: 8px; }
	.sc-chip--a { inset-inline-start: 0; }
	.sc-chip--b { inset-inline-end: 0; }
	/* 작업 관리자는 주 창 아래로 (높이는 줄인다) */
	.sc-stage { flex-direction: column; align-items: center; }
	.sc-tm { width: 414px; height: 300px; }
}
.sc-grid--3 > * { min-width: 0; }

/* 전체목록 체크 — 앱 엔진이 그리는 모양(옅은 테두리 · 둥근 모서리, 체크되면 강조색 면에 흰 체크)을 브라우저에서 */
.sc-win .choice input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; }
.sc-win .choice input[type=checkbox]:checked { background: var(--menu-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.2 7.2 5.8 9.8 10.8 4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 860px) { .sc-ex3 { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
@media (hover: none) { .sc-try__keys { display: none; } }
