/* 쇼츠·릴스 롱폼 변환기 — 공통 스타일
   첫 화면: 왼쪽 위 변환기 카드(핵심) + 오른쪽 제목, 아래 넓은 그림, 이어서 사용법·좋은 점·주소 형식·가이드.
   글 페이지: 720px 한 단. 라이트·다크 모두 같은 토큰을 씀.
   색 대비: --accent-ink/--accent 6.4:1, --accent-strong/흰 바탕 5.8:1, --accent-bright/흰 바탕 3.7:1(큰 글씨·아이콘만), --accent-strong/--accent-soft 5.0:1, --muted/흰 바탕 5.6:1 */
:root {
  --bg: #FFFFFF;
  --bg-soft: #FFF8FA;
  --bg-tint: #FFEFF5;
  --surface: #FFFFFF;
  --ink: #2A2129;
  --muted: #6E6570;
  --ink-soft: #4E454D;
  --muted-soft: #7A707A;
  --line: #F4E4EA;
  --line-strong: #EBD0DB;
  --hover: #FFF2F6;
  --accent: #F28DB4;          /* 버튼·면: 부드러운 핑크, 글씨는 진한 자두색 */
  --accent-hover: #EC7BA6;
  --accent-ink: #4A1530;
  --accent-bright: #D65A8D;   /* 큰 제목 강조·스위치·아이콘 */
  --on-bright: #FFFFFF;
  --accent-strong: #A83F6F;   /* 작은 글씨·링크 */
  --accent-soft: #FDE8F0;
  --mark: #FFE4EE;
  --focus-ring: rgba(214, 90, 141, .18);
  --ok: #A83F6F;
  --warn: #9A5300;
  --warn-soft: #FFF1DD;
  --code-bg: #FFF2F6;
  --cta-bg: #FFE9F1;
  --shadow-sm: 0 1px 2px rgba(42, 33, 41, .06);
  --shadow-card: 0 2px 6px rgba(42, 33, 41, .04), 0 30px 60px -30px rgba(214, 90, 141, .30);
  --shadow-btn: 0 14px 26px -14px rgba(214, 90, 141, .55);
  --shadow-lg: 0 24px 50px -22px rgba(42, 33, 41, .16);
  --shadow-lift: 0 16px 30px -12px rgba(214, 90, 141, .30), 0 44px 80px -32px rgba(214, 90, 141, .45);
  --frame: #FFFFFF;
  --frame-line: #F0DCE4;
  --blob-a: #FFF0F5;
  --blob-b: #FFF6EE;

  /* 그림 속 장면: 두 테마에서 같은 그림 */
  --sky: #FFEFF5;
  --sun: #FFD66B;
  --hill-a: #B5E6D2;
  --hill-b: #6CC5A2;
  --bar: #E77AA6;

  --font-body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 10px;
  --page: 1100px;
  --text: 720px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151116; --bg-soft: #1C171E; --bg-tint: #251B26; --surface: #211B23; --ink: #F6EFF3; --muted: #BDB2B9; --ink-soft: #DCD2D8; --muted-soft: #A99EA6;
    --line: #3A2F37; --line-strong: #4E3E49; --hover: #2A2129;
    --accent: #F49BBE; --accent-hover: #F7B0CB; --accent-ink: #2B0A18; --accent-bright: #F28DB4; --on-bright: #2B0A18;
    --accent-strong: #F7A8C7; --accent-soft: #3A2231; --mark: #4A2537; --focus-ring: rgba(242, 141, 180, .22);
    --ok: #F7A8C7; --warn: #F5B95A; --warn-soft: #3A2A12; --code-bg: #2A2129; --cta-bg: #2A1C26;
    --shadow-sm: 0 1px 0 rgba(0, 0, 0, .4); --shadow-card: 0 30px 60px -28px rgba(0, 0, 0, .7);
    --shadow-btn: 0 14px 26px -14px rgba(242, 141, 180, .45); --shadow-lg: 0 24px 50px -20px rgba(0, 0, 0, .6);
    --shadow-lift: 0 16px 30px -12px rgba(0, 0, 0, .5), 0 44px 80px -32px rgba(0, 0, 0, .7);
    --frame: #251E28; --frame-line: #47373F; --blob-a: #241A23; --blob-b: #221B1C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #151116; --bg-soft: #1C171E; --bg-tint: #251B26; --surface: #211B23; --ink: #F6EFF3; --muted: #BDB2B9; --ink-soft: #DCD2D8; --muted-soft: #A99EA6;
    --line: #3A2F37; --line-strong: #4E3E49; --hover: #2A2129;
    --accent: #F49BBE; --accent-hover: #F7B0CB; --accent-ink: #2B0A18; --accent-bright: #F28DB4; --on-bright: #2B0A18;
    --accent-strong: #F7A8C7; --accent-soft: #3A2231; --mark: #4A2537; --focus-ring: rgba(242, 141, 180, .22);
    --ok: #F7A8C7; --warn: #F5B95A; --warn-soft: #3A2A12; --code-bg: #2A2129; --cta-bg: #2A1C26;
    --shadow-sm: 0 1px 0 rgba(0, 0, 0, .4); --shadow-card: 0 30px 60px -28px rgba(0, 0, 0, .7);
    --shadow-btn: 0 14px 26px -14px rgba(242, 141, 180, .45); --shadow-lg: 0 24px 50px -20px rgba(0, 0, 0, .6);
    --shadow-lift: 0 16px 30px -12px rgba(0, 0, 0, .5), 0 44px 80px -32px rgba(0, 0, 0, .7);
    --frame: #251E28; --frame-line: #47373F; --blob-a: #241A23; --blob-b: #221B1C;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-strong); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--mark); color: var(--ink); }
code { font-family: var(--font-mono); font-size: .875em; background: var(--code-bg); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
kbd {
  font-family: var(--font-body); font-size: .8125rem; font-weight: 600; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 7px; padding: 1px 7px; white-space: nowrap;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 20px; }

/* ---------- 머리글·바닥글 ---------- */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20; padding: 8px 12px;
  background: var(--ink); color: var(--bg); border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 8px; }
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head-in {
  max-width: var(--page); margin: 0 auto; padding: 0 20px; min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: inline-flex; align-items: baseline; gap: 5px; font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em; white-space: nowrap; }
.brand-sub { color: var(--accent-strong); }
@media (max-width: 559px) {
  .brand-text { display: grid; gap: 0; line-height: 1.15; }
  .brand-sub { font-size: .75rem; font-weight: 700; letter-spacing: 0; }
  .brand-main { font-size: 1rem; }
}
.nav { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px;
  color: var(--muted); text-decoration: none; font-size: .9375rem; font-weight: 500; white-space: nowrap;
}
.nav a:hover { background: var(--hover); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent-strong); font-weight: 700; }
.nav .long { display: none; }
@media (min-width: 640px) { .nav .long { display: inline; } .nav .short { display: none; } }
@media (max-width: 380px) { .nav a { padding: 0 9px; } }

.site-foot { margin-top: 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.wrap + .site-foot { margin-top: 80px; }
.site-foot-in {
  max-width: var(--page); margin: 0 auto; padding: 36px 20px 44px;
  display: grid; gap: 12px; color: var(--muted); font-size: .8125rem;
}
.site-foot p { margin: 0; }
.foot-brand { color: var(--ink); font-weight: 700; font-size: .9375rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.foot-links a { color: var(--ink); text-decoration: none; font-size: .875rem; display: inline-block; padding: 6px 0; }
.foot-links a:hover { color: var(--accent-strong); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent-bright); color: var(--accent-strong); }
.btn--ghost[data-done] { color: var(--ok); border-color: var(--ok); }
.btn--big { min-height: 64px; font-size: 1.1875rem; padding: 0 28px; box-shadow: var(--shadow-btn); }
.btn--big svg { width: 24px; height: 24px; flex: none; }
.btn--big:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

/* ---------- 첫 화면 ---------- */
.home { display: block; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 28px 0 56px; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero::before { width: 560px; height: 560px; left: -240px; top: -260px; background: var(--bg-soft); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.hero::after { width: 420px; height: 420px; right: -200px; top: 120px; background: var(--blob-b); }
.hero-grid { display: grid; gap: 32px; }
.hero-tool { order: 1; position: relative; }
.hero-copy { order: 2; display: grid; gap: 18px; align-content: center; }
.art { order: 3; }
@media (min-width: 920px) {
  .hero { padding: 48px 0 80px; }
  .hero::before { width: 720px; height: 720px; left: -260px; top: -300px; }
  .hero::after { width: 520px; height: 520px; right: -300px; top: 20px; }
  .hero-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 48px 64px; align-items: center; }
  .art { grid-column: 1 / -1; }
}

/* 핵심: 왼쪽 위 변환기 카드 */
.tool-card {
  position: relative; background: var(--surface); border: 2px solid var(--accent); border-radius: var(--r-xl);
  box-shadow: 0 0 0 6px var(--accent-soft), var(--shadow-lift); transform: translateY(-3px);
  padding: 22px; display: grid; gap: 18px;
}
@media (min-width: 560px) { .tool-card { padding: 30px; gap: 20px; } }
.tool-card .btn--big { width: 100%; }
.or { display: flex; align-items: center; gap: 12px; margin: -2px 0; color: var(--muted); font-size: .8125rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { display: grid; gap: 10px; margin: 0; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field label.title { font-size: .9375rem; font-weight: 700; }
.detect {
  display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 11px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line);
  white-space: nowrap; transition: background-color .2s ease, color .2s ease;
}
.detect svg { width: 14px; height: 14px; display: none; }
.detect[data-state="yt"], .detect[data-state="ig"] { color: var(--accent-strong); background: var(--accent-soft); border-color: transparent; }
.detect[data-state="yt"] svg, .detect[data-state="ig"] svg { display: block; }
.bar { position: relative; }
#src {
  display: block; width: 100%; margin: 0;
  font-family: var(--font-body); font-size: 1rem; line-height: 1.4; color: var(--ink);
  background: var(--bg-soft); border: 2px solid var(--line); border-radius: var(--r-md);
  padding: 16px 52px 16px 18px; outline: none;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  text-overflow: ellipsis;
}
#src:hover { border-color: var(--line-strong); }
#src:focus { border-color: var(--accent-bright); background: var(--surface); box-shadow: 0 0 0 4px var(--focus-ring); }
#src::placeholder { color: var(--muted); opacity: 1; }
.clear {
  position: absolute; top: 50%; right: 7px; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer;
}
.clear:hover { background: var(--hover); color: var(--ink); }
.field-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 16px; font-size: .875rem; color: var(--muted);
}
.switch {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 40px;
  color: var(--ink); cursor: pointer; user-select: none; -webkit-user-select: none;
}
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.track {
  position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px;
  background: var(--line-strong); transition: background-color .15s ease;
}
.track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .18s ease;
}
.switch input:checked + .track { background: var(--accent-bright); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.kbd-hint { display: none; }
@media (hover: hover) and (pointer: fine) { .kbd-hint { display: inline; } }

.result { display: grid; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
@media (max-width: 340px) { .actions { grid-template-columns: minmax(0, 1fr); } }
.status { margin: 0; min-height: 1.6em; display: flex; align-items: flex-start; gap: 9px; font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.status::before {
  content: "i"; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: -1px;
  display: grid; place-items: center; font-size: .75rem; font-weight: 700; line-height: 1;
  background: var(--accent-soft); color: var(--accent-strong); font-family: var(--font-mono);
}
.status[data-tone="ok"] { color: var(--ok); font-weight: 600; }
.status[data-tone="ok"]::before { content: "✓"; background: var(--accent-bright); color: var(--on-bright); font-family: var(--font-body); }
.status[data-tone="warn"] { color: var(--warn); }
.status[data-tone="warn"]::before { content: "!"; background: var(--warn-soft); color: var(--warn); font-family: var(--font-body); }
.badge {
  font-size: .75rem; font-weight: 600; line-height: 1.6; color: var(--accent-strong);
  background: var(--accent-soft); padding: 0 8px; border-radius: 999px; margin-left: 6px;
}

/* 오른쪽 제목 */
.hero-title { margin: 0; display: grid; gap: 14px; }
.pf { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px 6px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong); font-size: .9375rem; font-weight: 700; letter-spacing: -.01em;
}
.pf-chip svg { width: 17px; height: 17px; flex: none; }
.hero-main {
  display: block; font-size: clamp(2.25rem, 1.55rem + 2.9vw, 3.6rem); line-height: 1.14;
  font-weight: 700; letter-spacing: -.04em; text-wrap: balance;
}
.hero-main em {
  font-style: normal; color: var(--accent-bright);
  background-image: linear-gradient(transparent 64%, var(--mark) 64%, var(--mark) 92%, transparent 92%);
  padding: 0 2px;
}
.combo { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.125rem; }
.combo-keys, .combo-touch { display: inline-flex; align-items: center; gap: 8px; }
.combo-keys { display: none; }
@media (hover: hover) and (pointer: fine) { .combo-keys { display: inline-flex; } .combo-touch { display: none; } }
.combo kbd {
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-bottom-width: 3px; border-radius: 10px;
  padding: 5px 12px; box-shadow: var(--shadow-sm);
}
.combo-touch kbd { background: var(--accent-soft); color: var(--accent-strong); border: 0; box-shadow: none; padding: 5px 13px; border-radius: 999px; }
.combo svg { width: 18px; height: 18px; color: var(--accent-bright); flex: none; }
.combo strong { font-weight: 700; }
.hero .lead { margin: 0; max-width: 31em; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: .9063rem; color: var(--ink); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust li::before {
  content: "✓"; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); font-size: .6875rem; font-weight: 700;
}

/* 그림: 세로 화면 → 일반 화면 */
.art { position: relative; display: grid; place-items: center; }
.art-stage {
  position: relative; width: 100%; max-width: 520px; aspect-ratio: 6 / 5;
  background: var(--bg-soft); border-radius: var(--r-xl); border: 1px solid var(--line);
}
.phone {
  position: absolute; left: 7%; top: 13%; width: 27%; aspect-ratio: 9 / 18;
  background: var(--frame); border: 1px solid var(--frame-line); border-radius: 20px;
  padding: 6px; box-shadow: var(--shadow-lg);
}
.browser {
  position: absolute; right: 6%; bottom: 13%; width: 58%;
  background: var(--frame); border: 1px solid var(--frame-line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser-top { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--frame-line); }
.browser-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--frame-line); }
.scene { position: relative; overflow: hidden; background: var(--sky); border-radius: 14px; }
.phone .scene { height: 100%; }
.browser .scene { aspect-ratio: 16 / 9; border-radius: 0; }
.scene .sun { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); right: 16%; top: 14%; }
.phone .scene .sun { width: 40%; right: 12%; top: 16%; }
.scene .hill-a, .scene .hill-b { position: absolute; border-radius: 50%; }
.scene .hill-a { width: 120%; height: 60%; left: -30%; bottom: -30%; background: var(--hill-a); }
.scene .hill-b { width: 100%; height: 50%; right: -35%; bottom: -26%; background: var(--hill-b); }
.player { display: grid; gap: 7px; padding: 9px 10px 10px; }
.seek { position: relative; height: 4px; border-radius: 2px; background: var(--frame-line); }
.seek i { position: absolute; left: 0; top: 0; bottom: 0; width: 42%; border-radius: 2px; background: var(--bar); }
.seek i::after {
  content: ""; position: absolute; right: -5px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px;
  border-radius: 50%; background: var(--bar);
}
.player-tags { display: flex; gap: 5px; flex-wrap: wrap; }
@media (max-width: 559px) { .player-tags span:nth-child(4) { display: none; } }
.player-tags span {
  font-size: .6875rem; font-weight: 700; line-height: 1.7; padding: 0 7px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent-strong); white-space: nowrap;
}
.arrow-badge {
  position: absolute; left: 31%; top: 40%; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  box-shadow: var(--shadow-btn); z-index: 2;
}
.cap {
  position: absolute; margin: 0; display: inline-flex; gap: 5px; align-items: baseline;
  font-size: .8125rem; font-weight: 700; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px;
}
.cap b { font-family: var(--font-mono); font-weight: 500; color: var(--muted); }
.cap b:empty { display: none; }
.cap--short { left: 7%; top: 4%; }
.cap--long { right: 6%; bottom: 3%; }
@media (min-width: 920px) {
  .art .art-stage { max-width: none; aspect-ratio: 3 / 1; }
  .art .phone { left: 22%; top: 17%; width: 11%; border-radius: 18px; }
  .art .browser { right: 18%; bottom: 12%; width: 34%; }
  .art .arrow-badge { left: 40%; top: 42%; }
  .art .cap--short { left: 22%; top: 4%; }
  .art .cap--long { right: 18%; bottom: 3%; }
}
@keyframes pop { 0% { transform: scale(.94); opacity: .4; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fill { from { width: 0; } to { width: 42%; } }
.art.is-fresh .browser { animation: pop .45s cubic-bezier(.2, .7, .2, 1) both; }
.art.is-fresh .seek i { animation: fill .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
.art[data-state="live"] .arrow-badge { animation: pop .3s ease-out both; }

/* 강조가 아닌 부분은 한 톤 흐리게: 그림(화살표 동그라미는 그대로)과 '이렇게 써요'(숫자는 그대로) */
.art .phone, .art .browser { opacity: .6; filter: saturate(.75); box-shadow: none; }
.art .cap { opacity: .7; }
.art .art-stage { border-color: color-mix(in srgb, var(--line) 60%, transparent); }
.band--how .band-head h2 { color: var(--ink-soft); }
.band--how .band-head p { color: var(--muted-soft); }
.band--how .how li { border-color: color-mix(in srgb, var(--line) 70%, transparent); }
.band--how .how h3 { color: var(--ink-soft); font-weight: 600; }
.band--how .how p { color: var(--muted-soft); }
.band--how .how strong { color: var(--ink-soft); font-weight: 600; }
.band--how .how kbd { color: var(--muted-soft); background: var(--bg-soft); border-color: var(--line); border-bottom-width: 1px; box-shadow: none; }

/* 첫 화면 아래 구역 */
.band { padding: 72px 0; }
.band--soft { background: var(--bg-soft); }
.band--last { padding-bottom: 88px; }
.band-head { display: grid; gap: 8px; margin-bottom: 30px; text-align: center; justify-items: center; }
.band-head h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem); line-height: 1.3; font-weight: 700; letter-spacing: -.03em; }
.band-head p { margin: 0; color: var(--muted); max-width: 34em; }

.how { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: how; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.how li {
  counter-increment: how; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; display: grid; gap: 10px; align-content: start;
}
.how li::before {
  content: counter(how); width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
}
.how h3 { margin: 0; font-size: 1.0625rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.how h3 kbd { font-size: .75rem; }
.how p { margin: 0; color: var(--muted); font-size: .9375rem; }

.feature-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .feature-grid { grid-template-columns: 3fr 2fr; } }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  display: grid; gap: 18px; align-content: start;
}
.feature-card h3 { margin: 0; font-size: 1.125rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.feature-card h3 small { font-size: .875rem; font-weight: 600; color: var(--accent-strong); }
.feature-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .feature-grid > :first-child .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; }
.ico {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong);
}
.feature-list strong { display: block; font-size: .9688rem; margin-bottom: 2px; }
.feature-list span { color: var(--muted); font-size: .9063rem; line-height: 1.55; }

.formats { display: grid; gap: 16px; max-width: 840px; margin: 0 auto; }
.formats .band-head { margin-bottom: 0; }
.note { margin: 0; color: var(--muted); text-align: center; }
.fmt-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fmt {
  display: grid; grid-template-columns: 12em minmax(0, 1fr); align-items: center; gap: 4px 16px;
  padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
}
.fmt-name { font-size: .9375rem; font-weight: 600; }
.fmt code { background: none; padding: 0; color: var(--muted); }
@media (max-width: 600px) { .fmt { grid-template-columns: minmax(0, 1fr); } }

.cards { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  height: 100%; display: grid; gap: 8px; align-content: start; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--accent-bright); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.card h2, .card h3 { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.45; }
.card p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.card .more { color: var(--accent-strong); font-size: .875rem; font-weight: 700; }
.center-link { text-align: center; margin: 24px 0 0; }
.center-link a { font-weight: 700; text-decoration: none; }

.final-cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 16px; justify-items: center; text-align: center;
  background: var(--cta-bg); color: var(--ink); border-radius: 32px; padding: 52px 24px;
}
.final-cta::before, .final-cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: var(--surface); opacity: .55; }
.final-cta::before { width: 280px; height: 280px; left: -90px; bottom: -150px; }
.final-cta::after { width: 200px; height: 200px; right: -60px; top: -90px; }
.final-cta h2 { margin: 0; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.95rem); line-height: 1.35; letter-spacing: -.02em; }
.final-cta p { margin: 0; color: var(--muted); }
.final-cta .btn { background: var(--accent); color: var(--accent-ink); }
.final-cta .btn:hover { background: var(--accent-hover); color: var(--accent-ink); }

/* ---------- 글 페이지 ---------- */
.wrap { max-width: var(--text); margin: 0 auto; padding: 36px 20px 0; display: grid; gap: 28px; }
@media (min-width: 720px) { .wrap { padding-top: 56px; } }
.crumbs { margin: 0; font-size: .8125rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-strong); text-decoration: underline; }
.page-head { display: grid; gap: 12px; }
.page-head h1 {
  margin: 0; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); line-height: 1.25; font-weight: 700; letter-spacing: -.03em;
}
.page-head .lead { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
.meta { margin: 0; font-size: .8125rem; color: var(--muted); }

.prose { display: grid; gap: 16px; font-size: 1.0625rem; line-height: 1.8; }
.prose > * { margin: 0; }
.prose h2 { margin-top: 24px; font-size: 1.4375rem; line-height: 1.35; font-weight: 700; letter-spacing: -.02em; }
.prose h3 { margin-top: 8px; font-size: 1.125rem; font-weight: 700; line-height: 1.4; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent-bright); }
.prose a { color: var(--accent-strong); text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.6; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 700; color: var(--muted); font-size: .8125rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 16px; background: var(--surface); }
.table-wrap tr:last-child td { border-bottom: 0; }

.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; font-size: .9375rem; }
.toc p { margin: 0 0 8px; font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc li::marker { color: var(--accent-bright); }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent-strong); text-decoration: underline; }

.callout { background: var(--accent-soft); border-radius: var(--r-md); padding: 16px 18px; font-size: 1rem; line-height: 1.7; }
.callout strong { color: var(--accent-strong); }
.steps { counter-reset: s; list-style: none; padding-left: 0 !important; gap: 14px !important; }
.steps > li { counter-increment: s; position: relative; padding-left: 44px; min-height: 30px; }
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 1px; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-size: .875rem; font-weight: 700;
}
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--accent-soft); border-radius: var(--r-lg); padding: 20px 22px;
}
.cta p { margin: 0; font-weight: 700; }
.section-title { margin: 0; font-size: 1.25rem; font-weight: 700; }
.related { display: grid; gap: 14px; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 18px; }
.faq details[open] { border-color: var(--accent-bright); }
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-bright); font-size: 1.375rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); line-height: 1.75; }
.faq details > div p { margin: 0 0 8px; }
.faq details > div strong { color: var(--ink); }

.fill { color: var(--warn); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
