/* 카피휴먼 사이트 스타일 3.0
   흰 종이 위에 큰 글자와 넉넉한 여백. 단추는 먹색, 강조는 남보라 한 가지, 첫 화면 시연만 어두운 제품 화면으로 둡니다.
   검사 표시는 형광펜이 지나가듯 칠하고, 다듬은 말은 민트로 표시합니다. 물결 밑줄 · 화살표 · 번쩍이는 그라데이션은 쓰지 않습니다.
   글꼴: Pretendard(본문 · 제목), JetBrains Mono(엔진 표기 · 작은 수치). 불러오지 못하면 기기 글꼴로 보입니다. */

/* ───────── 색 · 크기 ───────── */
:root, .paper, .tool {
  --bg: #ffffff;
  --bg2: #f6f6f9;
  --bg3: #ececf1;
  --tint: #f1f0fd;
  --card: #ffffff;
  --ink: #0e1017;
  --ink2: #4a4f5e;
  --mut: #7d818e;
  --line: rgba(14, 16, 23, .08);
  --line2: rgba(14, 16, 23, .14);
  --brand: #4f46e5;
  --brand-ink: #4338ca;
  --brand-soft: #eeeefd;
  --on-brand: #ffffff;
  --btn: #0e1017;
  --btn-ink: #ffffff;
  --btn-hover: #2a2d38;
  --hi: #c1121f;
  --hi-soft: #fbe4e6;
  --hi-mark: rgba(214, 31, 50, .2);
  --mid: #dc3e45;
  --mid-soft: #fdeceb;
  --mid-mark: rgba(229, 72, 77, .15);
  --low: #e3666c;
  --low-soft: #fdf0f0;
  --low-mark: rgba(229, 72, 77, .1);
  --ok: #08875f;
  --ok-soft: #e1f5ec;
  --ok-mark: rgba(16, 185, 129, .19);
  --hero-a: rgba(99, 102, 241, .13);
  --hero-b: rgba(56, 189, 248, .08);
  --best-bg: #0e1017;
  --best-bd: #0e1017;
  --shadow-sm: 0 1px 2px rgba(14, 16, 23, .05);
  --shadow: 0 1px 2px rgba(14, 16, 23, .04), 0 6px 14px -4px rgba(14, 16, 23, .06), 0 22px 44px -18px rgba(14, 16, 23, .14);
  --shadow-lg: 0 1px 2px rgba(14, 16, 23, .04), 0 10px 24px -8px rgba(14, 16, 23, .08), 0 44px 90px -30px rgba(14, 16, 23, .26);
}
:root {
  --night: #0b0c10;
  --f-body: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --f-display: var(--f-body);
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --r: 16px;
  --r-sm: 10px;
  --r-lg: 24px;
  --wrap: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .75, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]), :root:not([data-theme="light"]) .paper, :root:not([data-theme="light"]) .tool {
    --bg: #0b0c10; --bg2: #111219; --bg3: #1a1b24; --tint: #13132a; --card: #121319;
    --ink: #f1f2f6; --ink2: #b8bbc7; --mut: #868a98; --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .15);
    --brand: #8d8cff; --brand-ink: #a9a8ff; --brand-soft: #1c1b38; --on-brand: #ffffff;
    --btn: #f1f2f6; --btn-ink: #0b0c10; --btn-hover: #ffffff;
    --hi: #ff4f58; --hi-soft: #45161b; --hi-mark: rgba(255, 79, 88, .3);
    --mid: #ff6f73; --mid-soft: #3a171a; --mid-mark: rgba(255, 111, 115, .24);
    --low: #ff9a9e; --low-soft: #35191c; --low-mark: rgba(255, 111, 115, .15);
    --ok: #43d8a2; --ok-soft: #0e2d24; --ok-mark: rgba(67, 216, 162, .22);
    --hero-a: rgba(99, 102, 241, .2); --hero-b: rgba(56, 189, 248, .07);
    --best-bg: #181922; --best-bd: rgba(255, 255, 255, .16);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 22px 44px -18px rgba(0, 0, 0, .65);
    --shadow-lg: 0 1px 2px rgba(0, 0, 0, .35), 0 44px 90px -30px rgba(0, 0, 0, .8);
  }
  :root:not([data-theme="light"]) { color-scheme: dark; }
}
:root[data-theme="dark"], :root[data-theme="dark"] .paper, :root[data-theme="dark"] .tool {
  --bg: #0b0c10; --bg2: #111219; --bg3: #1a1b24; --tint: #13132a; --card: #121319;
  --ink: #f1f2f6; --ink2: #b8bbc7; --mut: #868a98; --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .15);
  --brand: #8d8cff; --brand-ink: #a9a8ff; --brand-soft: #1c1b38; --on-brand: #ffffff;
  --btn: #f1f2f6; --btn-ink: #0b0c10; --btn-hover: #ffffff;
  --hi: #ff4f58; --hi-soft: #45161b; --hi-mark: rgba(255, 79, 88, .3);
  --mid: #ff6f73; --mid-soft: #3a171a; --mid-mark: rgba(255, 111, 115, .24);
  --low: #ff9a9e; --low-soft: #35191c; --low-mark: rgba(255, 111, 115, .15);
  --ok: #43d8a2; --ok-soft: #0e2d24; --ok-mark: rgba(67, 216, 162, .22);
  --hero-a: rgba(99, 102, 241, .2); --hero-b: rgba(56, 189, 248, .07);
  --best-bg: #181922; --best-bd: rgba(255, 255, 255, .16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 22px 44px -18px rgba(0, 0, 0, .65);
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, .35), 0 44px 90px -30px rgba(0, 0, 0, .8);
}
:root[data-theme="dark"] { color-scheme: dark; }

/* 먹색 띠(전문가 · 마무리 · 바닥): 테마와 상관없이 어둡게 */
.ft, .cta-band, .expert, .night {
  --bg: var(--night); --bg2: rgba(255, 255, 255, .05); --bg3: rgba(255, 255, 255, .09); --card: rgba(255, 255, 255, .045);
  --ink: #f4f5f8; --ink2: #b4b7c4; --mut: #848897; --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .16);
  --brand: #aeadff; --brand-ink: #c8c7ff; --brand-soft: rgba(168, 167, 255, .12);
  --btn: #ffffff; --btn-ink: #0b0c10; --btn-hover: #e6e7ee;
  --ok: #5fe2b5; --ok-soft: rgba(95, 226, 181, .12);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  color: var(--ink2);
}

/* ───────── 바탕 ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
}
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16.5px; line-height: 1.72; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
::selection { background: rgba(79, 70, 229, .18); }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--btn); color: var(--btn-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap.narrow { max-width: 840px; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--f-mono); }

/* ───────── 글자 ───────── */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--f-display); text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(34px, 4.8vw, 60px); line-height: 1.14; letter-spacing: -.045em; }
h2 { font-weight: 800; font-size: clamp(28px, 3.5vw, 48px); line-height: 1.22; letter-spacing: -.042em; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.45; letter-spacing: -.025em; }
h4 { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
h1 em, h2 em, .em { font-style: normal; color: var(--brand); }
h1 em, h2 em { white-space: nowrap; }
.lead { font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--ink2); line-height: 1.75; max-width: 38em; letter-spacing: -.02em; font-weight: 450; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--brand); letter-spacing: -.01em; line-height: 1.4; }
.muted { color: var(--mut); }
.small { font-size: 14px; }

/* ───────── 단추 ───────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; font-size: 15.5px; letter-spacing: -.02em; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: transform .18s var(--ease), box-shadow .2s, background-color .2s, border-color .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-p { background: var(--btn); color: var(--btn-ink); box-shadow: 0 1px 2px rgba(14, 16, 23, .14), 0 10px 22px -12px rgba(14, 16, 23, .5), inset 0 1px 0 rgba(255, 255, 255, .1); }
.btn-p:hover { background: var(--btn-hover); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(14, 16, 23, .14), 0 16px 30px -14px rgba(14, 16, 23, .55), inset 0 1px 0 rgba(255, 255, 255, .1); }
.btn-d { background: var(--ink); color: var(--bg); }
.btn-d:hover { opacity: .9; }
.btn-g { background: var(--card); color: var(--ink); border-color: var(--line2); box-shadow: var(--shadow-sm); }
.btn-g:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.btn-t { background: transparent; color: var(--brand); padding: 0 6px; min-height: 36px; border-radius: 8px; font-weight: 650; }
.btn-t:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; border-radius: 14px; }
.btn-s { min-height: 38px; padding: 0 15px; font-size: 14.5px; border-radius: 10px; }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.35; padding-block: 8px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── 머리 ───────── */
.hd { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -.045em; text-decoration: none !important; flex: none; }
.logo svg { width: 30px; height: 30px; }
.logo svg .lt { fill: var(--ink); }
.logo svg .lg { fill: var(--bg); }
.logo small { font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; color: var(--mut); letter-spacing: .14em; margin-left: 1px; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav a { color: var(--ink2); font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 9px; text-decoration: none !important; white-space: nowrap; transition: color .15s, background-color .15s; letter-spacing: -.02em; }
.nav a:hover { color: var(--ink); background: var(--bg2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg3); }
.hd-r { display: flex; align-items: center; gap: 8px; flex: none; }
.tok-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line2); background: var(--card); font-size: 14px; font-weight: 650; color: var(--ink); cursor: pointer; transition: border-color .15s; }
.tok-chip:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.tok-chip .ico { width: 16px; height: 16px; color: var(--brand); }
.tok-chip b { color: var(--ok); font-variant-numeric: tabular-nums; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line2); background: var(--card); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mnav { display: none; }
@media (max-width: 1240px) { .hd .wrap { gap: 20px; } .nav a { padding: 8px 9px; } }
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hd .wrap { justify-content: space-between; }
  .mnav { position: fixed; left: 0; right: 0; top: var(--hd-bottom, 68px); bottom: 0; z-index: 49; background: var(--bg); padding: 6px var(--gutter-r) 28px var(--gutter-l); overflow-y: auto; border-top: 1px solid var(--line); }
  .mnav.on { display: block; animation: fadeIn .2s var(--ease); }
  .mnav a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -.03em; text-decoration: none !important; }
  .mnav a.btn { display: flex; justify-content: center; margin-top: 22px; min-height: 56px; padding: 0 20px; border-bottom: 0; color: var(--btn-ink); font-size: 17px; }
}
@media (max-width: 520px) {
  .hd-r .btn-check { display: none; }
  .logo small { display: none; }
  .hd .wrap { gap: 12px; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ───────── 구획 ───────── */
.sec { padding-block: clamp(72px, 10vw, 136px); }
.sec.alt { background: var(--bg2); }
.sec.tight { padding-block: clamp(48px, 6vw, 84px); }
.sec-h { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 800px; justify-items: start; }
.sec-h.c { margin-inline: auto; text-align: center; justify-items: center; }
.sec-h p { color: var(--ink2); font-size: 18px; line-height: 1.75; letter-spacing: -.02em; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid2, .grid3, .grid4 { grid-template-columns: minmax(0, 1fr); } }

/* 스크롤하면 나타나기(스크립트가 붙임) */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* ───────── 첫 화면 · 쪽 머리(밝은 종이 위 은은한 빛) ───────── */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(52% 62% at 92% 4%, var(--hero-a), transparent 64%),
  radial-gradient(40% 52% at 2% 0%, var(--hero-b), transparent 62%),
  linear-gradient(180deg, color-mix(in srgb, var(--bg2) 70%, var(--bg)) 0%, var(--bg) 70%); }

/* 검사 칸이 있는 쪽 */
.hero { padding-block: clamp(40px, 6vw, 92px) clamp(56px, 7vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "copy tool" "more tool"; grid-template-rows: auto 1fr; gap: 28px clamp(28px, 4.5vw, 64px); align-items: start; }
.hero .wrap > * { min-width: 0; }
.hero .wrap > .tool { grid-area: tool; }
.hero-copy { grid-area: copy; display: grid; gap: 24px; align-content: start; padding-top: 6px; justify-items: start; }
.hero-copy h1 { max-width: 13.5em; }
.hero:not(.home) h1 { font-size: clamp(32px, 3.9vw, 50px); }
.hero-more { grid-area: more; display: grid; gap: 18px; align-content: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink2); font-size: 15.5px; line-height: 1.6; }
.ticks li .ico { width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; color: var(--ok); background: var(--ok-soft); stroke-width: 2.6; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--mut); }
.hero .tool { box-shadow: var(--shadow-lg); }
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "tool" "more"; grid-template-rows: auto; }
  .hero-copy h1 { max-width: none; }
}

/* 홈 첫 화면: 글 · 시연 */
.hero.home { padding-block: clamp(48px, 7vw, 112px) 0; }
.hero.home .wrap { grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); grid-template-areas: "copy demo" "strip strip"; grid-template-rows: auto auto; align-items: center; gap: 36px clamp(36px, 5vw, 76px); }
.hero.home h1 { font-size: clamp(42px, 5.8vw, 78px); line-height: 1.08; letter-spacing: -.052em; max-width: none; }
.hero.home .lead { max-width: 30em; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 5px 14px 5px 5px; border-radius: 99px; background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow-sm); color: var(--ink2); font-size: 14px; font-weight: 600; text-decoration: none !important; transition: border-color .2s, color .2s; letter-spacing: -.02em; }
.hero-pill .tag { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 3px 9px; border-radius: 99px; background: var(--brand); color: #fff; }
.hero-pill span:not(.tag) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-pill:hover { border-color: color-mix(in srgb, var(--ink) 28%, transparent); color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
/* 상황별 시작(결과확인서가 없을 때 · 있을 때) */
.start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: 4px; }
.start-card { display: grid; gap: 8px; align-content: start; padding: 18px 18px 16px; border-radius: 18px; border: 1px solid var(--line2); background: var(--card); box-shadow: var(--shadow-sm); color: var(--ink2); text-decoration: none !important; min-width: 0; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.start-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.start-card .sc-k { font-size: 12.5px; font-weight: 700; color: var(--brand); letter-spacing: -.01em; }
.start-card b { color: var(--ink); font-size: 17px; line-height: 1.35; letter-spacing: -.035em; text-wrap: balance; }
.start-card .sc-d { font-size: 13.5px; line-height: 1.55; color: var(--mut); }
.start-card .sc-go { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 6px; min-height: 42px; padding: 0 14px; border-radius: 11px; background: var(--btn); color: var(--btn-ink); font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.start-card .sc-go .ico { width: 16px; height: 16px; }
.start-card:nth-child(2) .sc-go { background: var(--card); color: var(--ink); border: 1px solid var(--line2); }
@media (max-width: 1180px) { .start { max-width: 760px; } }
@media (max-width: 560px) { .start { grid-template-columns: minmax(0, 1fr); } }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--mut); font-weight: 500; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ico { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.4; }
.hero-demo { grid-area: demo; position: relative; min-width: 0; }
.hero-demo::before { content: ""; position: absolute; inset: 10% 6% -2% 8%; z-index: -1; background: radial-gradient(closest-side, rgba(99, 102, 241, .3), transparent); filter: blur(48px); pointer-events: none; }
.hero-strip { grid-area: strip; list-style: none; margin: clamp(30px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero-strip li { display: grid; gap: 6px; align-content: start; padding: 26px 24px 34px 0; min-width: 0; }
.hero-strip li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-strip b { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -.03em; }
.hero-strip b .ico { width: 18px; height: 18px; color: var(--brand); }
.hero-strip span { color: var(--mut); font-size: 14px; line-height: 1.6; }
@media (max-width: 1180px) {
  .hero.home .wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "demo" "strip"; }
  .hero.home .hero-demo { max-width: 900px; }
}
@media (max-width: 860px) {
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .hero-cta .btn { width: 100%; }
  .hero-strip li { padding: 18px 12px 22px 0; }
  .hero-strip li + li { padding-left: 14px; }
  .hero-strip li:nth-child(3) { padding-left: 0; }
  .hero-strip b { font-size: 15px; }
  .hero-strip span { font-size: 13px; }
}

/* 쪽 머리(검사 칸 없는 쪽) */
.page-hero { padding-block: clamp(44px, 6vw, 88px) clamp(40px, 5vw, 64px); }
.page-hero .wrap { display: grid; gap: 18px; justify-items: start; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 56px); max-width: 18em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--mut); list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .45; }
.crumbs a { color: var(--mut); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink2); }

/* ───────── 첫 화면 시연(어두운 제품 화면) ───────── */
.demo { position: relative; border-radius: 22px; background: linear-gradient(180deg, #1b1d27, #111219 38%); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 1px 1px rgba(14, 16, 23, .1), 0 30px 60px -24px rgba(14, 16, 23, .45), 0 70px 120px -50px rgba(40, 36, 120, .45), inset 0 1px 0 rgba(255, 255, 255, .07); overflow: hidden; color: #b4b7c4; }
.demo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); opacity: .05; mix-blend-mode: overlay; }
.demo-bar { position: relative; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.demo-dots { display: flex; gap: 7px; flex: none; }
.demo-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.demo-dots i:first-child { background: #ff6159; } .demo-dots i:nth-child(2) { background: #ffbd2e; } .demo-dots i:nth-child(3) { background: #28c941; }
.demo-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 600; color: #8b8f9e; letter-spacing: -.01em; white-space: nowrap; }
.demo-live { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #7ee8c4; padding: 3px 10px; border-radius: 99px; background: rgba(95, 226, 181, .08); border: 1px solid rgba(95, 226, 181, .22); }
.demo-live i { width: 6px; height: 6px; border-radius: 50%; background: #5fe2b5; animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(95, 226, 181, .5); } 70% { box-shadow: 0 0 0 7px rgba(95, 226, 181, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 226, 181, 0); } }
.demo-tools { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .015); }
.demo-file { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 600; color: #d6d8e1; }
.demo-file .ico { width: 15px; height: 15px; color: #aeadff; }
.demo-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-tabs { display: inline-flex; padding: 3px; margin-left: auto; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); flex: none; }
.demo-tabs b { padding: 4px 11px; border-radius: 7px; font-size: 12px; font-weight: 650; color: #858998; transition: background-color .3s, color .3s; white-space: nowrap; }
.demo-tabs b.on { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.demo-count { flex: none; font-family: var(--f-mono); font-size: 11.5px; color: #7c8090; font-variant-numeric: tabular-nums; min-width: 46px; text-align: right; }
.demo-body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; }
.demo-doc { padding: 16px; min-width: 0; }
.demo-paper { position: relative; height: 100%; min-height: 360px; border-radius: 12px; background: #fdfdfe; color: #1e2029; padding: 20px 22px 22px; font-size: 14.5px; line-height: 1.92; letter-spacing: -.022em; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 40px -18px rgba(0, 0, 0, .7); overflow: hidden; transition: opacity .45s var(--ease); }
.demo-paper.fade { opacity: 0; }
.dm-title { display: block; font-size: 16px; font-weight: 750; color: #0e1017; letter-spacing: -.035em; line-height: 1.5; }
.dm-meta { display: block; font-size: 12px; color: #8b8f9e; margin: 1px 0 12px; letter-spacing: -.01em; }
.demo-paper p { margin: 0; }
.demo-paper p + p { margin-top: 10px; }
.dm-text { transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); }
.dm-text.open { opacity: 0; transform: translateY(6px); filter: blur(3px); }
.dm-s { border-radius: 3px; padding: 1px 0; background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%; background-image: linear-gradient(rgba(79, 70, 229, .1), rgba(79, 70, 229, .1)); transition: background-size .5s var(--ease), background-image .35s, color .35s; -webkit-box-decoration-break: slice; box-decoration-break: slice; }
.dm-s.rd { background-size: 100% 100%; }
.dm-s.seen { background-size: 100% 100%; background-image: linear-gradient(rgba(79, 70, 229, .045), rgba(79, 70, 229, .045)); }
.dm-s.hi { background-image: linear-gradient(rgba(229, 72, 77, .17), rgba(229, 72, 77, .17)); }
.dm-s.low { background-image: linear-gradient(rgba(229, 72, 77, .1), rgba(229, 72, 77, .1)); }
.dm-s.hi.rd, .dm-s.low.rd, .dm-s.hi.seen, .dm-s.low.seen { background-image: linear-gradient(rgba(79, 70, 229, .1), rgba(79, 70, 229, .1)); }
.dm-s.hi.seen, .dm-s.low.seen { background-image: linear-gradient(rgba(79, 70, 229, .045), rgba(79, 70, 229, .045)); }
.dm-s.on { background-size: 100% 100%; }
.dm-s.work { background-image: linear-gradient(rgba(16, 185, 129, .07), rgba(16, 185, 129, .07)); background-size: 100% 100%; }
.dm-g { transition: opacity .4s var(--ease), color .4s, text-decoration-color .4s; text-decoration: line-through; text-decoration-color: transparent; text-decoration-thickness: 1.5px; }
.dm-g.cut { color: #a2a5b1; text-decoration-color: rgba(229, 72, 77, .85); }
.dm-tag { display: inline-block; margin-left: 4px; font-size: 10.5px; font-weight: 750; line-height: 17px; padding: 0 6px; border-radius: 99px; color: #fff; vertical-align: 1px; letter-spacing: 0; opacity: 0; transform: translateY(3px) scale(.92); transition: opacity .3s, transform .3s var(--ease); }
.dm-tag.hi { background: #e5484d; } .dm-tag.low { background: #ee7b80; }
.dm-tag.on { opacity: 1; transform: none; }
.demo-paper mark { color: inherit; border-radius: 3px; padding: 1px 0; background: linear-gradient(rgba(16, 185, 129, .22), rgba(16, 185, 129, .22)) no-repeat 0 0 / 100% 100%; display: inline; transition: opacity .45s var(--ease), filter .45s var(--ease); }
.demo-paper mark.in { opacity: 0; filter: blur(2px); }
.dm-scan { position: absolute; left: 0; right: 0; top: 0; height: 84px; pointer-events: none; opacity: 0; transform: translateY(-90px); background: linear-gradient(180deg, transparent, rgba(79, 70, 229, .06) 60%, rgba(79, 70, 229, .24) 97%, rgba(99, 102, 241, .9) 99%, transparent); }
.demo-paper.scanning .dm-scan { animation: dmScan 1.35s var(--ease) forwards; }
@keyframes dmScan { 0% { opacity: 0; transform: translateY(-90px); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(460px); } }
.demo-side { display: grid; gap: 16px; align-content: start; padding: 18px 16px; border-left: 1px solid rgba(255, 255, 255, .06); }
.dm-label { font-size: 11.5px; font-weight: 650; color: #7c8090; letter-spacing: -.005em; }
.dm-ring { position: relative; width: 132px; height: 132px; margin: 0 auto; }
.dm-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.dm-ring circle { fill: none; stroke-width: 8; }
.dm-ring .tr { stroke: rgba(255, 255, 255, .07); }
.dm-ring .vl { stroke: rgba(255, 255, 255, .35); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke .45s; }
.dm-ring.risk .vl { stroke: #ff6369; } .dm-ring.unfit .vl { stroke: #ff3d47; } .dm-ring.safe .vl { stroke: #4fdcaa; }
.dm-ring.busy svg { animation: ringSpin 1.1s linear infinite; }
.dm-ring.busy .vl { stroke: rgba(255, 255, 255, .4); }
.dm-ring.busy .dm-rate b { opacity: .4; }
@keyframes ringSpin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
.dm-rate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.dm-rate b { font-size: 38px; font-weight: 750; color: #fff; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.dm-rate b small { font-size: 16px; font-weight: 650; margin-left: 1px; color: #b4b7c4; letter-spacing: 0; }
.dm-rate > span { margin-top: 7px; font-size: 11.5px; color: #7c8090; letter-spacing: 0; }
.dm-verdict { justify-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 13px; border-radius: 99px; font-size: 13px; font-weight: 700; color: #b4b7c4; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: color .35s, background-color .35s, border-color .35s; }
.dm-verdict::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.dm-verdict.unfit { color: #ff7a80; background: rgba(255, 61, 71, .16); border-color: rgba(255, 61, 71, .45); }
.dm-verdict.risk { color: #ff9195; background: rgba(229, 72, 77, .12); border-color: rgba(229, 72, 77, .3); }
.dm-verdict.safe { color: #7ee8c4; background: rgba(16, 185, 129, .11); border-color: rgba(16, 185, 129, .3); }
.dm-verdict.scan { color: #d2d4de; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.dm-verdict.scan::before { animation: softPulse 1.4s ease-in-out infinite; }
@keyframes softPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.dm-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.dm-counts div { display: grid; gap: 1px; justify-items: center; padding: 8px 2px 7px; border-radius: 11px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); transition: opacity .3s; }
.dm-counts dt { font-size: 11px; color: #7c8090; }
.dm-counts dd { margin: 0; font-size: 19px; font-weight: 750; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.3; }
.dm-counts .hi dd { color: #ff7a80; } .dm-counts .mid dd { color: #ff9195; } .dm-counts .low dd { color: #ffb3b6; }
.dm-counts.stale div { opacity: .45; }
.dm-counts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dm-counts.two dt { font-size: 11.5px; }
.dm-counts.two dd { font-size: 22px; }
.dm-steps { list-style: none; margin: 0; padding: 14px 0 0; display: grid; gap: 9px; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .06); }
.dm-steps li { display: flex; align-items: center; gap: 10px; color: #7c8090; transition: color .3s; }
.dm-steps li i { position: relative; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .18); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.dm-steps li.on { color: #fff; }
.dm-steps li.on i { border-color: #aeadff; box-shadow: 0 0 0 4px rgba(174, 173, 255, .13); background: radial-gradient(circle, #aeadff 0 3.5px, transparent 4px); }
.dm-steps li.done { color: #b4b7c4; }
.dm-steps li.done i { border-color: #5fe2b5; background: #5fe2b5; }
.dm-steps li.done i::after { content: ""; position: absolute; left: 4.5px; top: 4px; width: 7px; height: 4px; border-left: 2px solid #052b1e; border-bottom: 2px solid #052b1e; transform: rotate(-45deg); }
.demo-foot { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; border-top: 1px solid rgba(255, 255, 255, .06); font-family: var(--f-mono); font-size: 11.5px; color: #7c8090; }
.demo-foot .st { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.demo-foot .st i { width: 6px; height: 6px; border-radius: 50%; background: #aeadff; flex: none; box-shadow: 0 0 10px #aeadff; }
.demo-foot .st span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c3c5d0; font-family: var(--f-body); font-size: 13px; letter-spacing: -.015em; }
.demo-foot .eng { flex: none; letter-spacing: .04em; }
.demo-replay { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font-family: var(--f-body); font-size: 12.5px; font-weight: 650; cursor: pointer; }
.demo-replay:hover { background: rgba(255, 255, 255, .12); }
.demo-replay .ico { width: 14px; height: 14px; }
.demo-cap { margin: 16px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--mut); text-align: center; }
@media (max-width: 640px) {
  .demo-title { display: none; }
  .demo-tools { padding: 9px 12px; gap: 8px; }
  .demo-count { display: none; }
  .demo-body { grid-template-columns: minmax(0, 1fr); }
  .demo-doc { padding: 12px 12px 0; }
  .demo-paper { min-height: 352px; padding: 16px 16px 18px; font-size: 14px; line-height: 1.88; }
  .demo-side { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "ring verdict" "ring counts"; gap: 10px 14px; align-items: center; border-left: 0; padding: 14px 14px 16px; }
  .dm-label { display: none; }
  .dm-ring { grid-area: ring; width: 96px; height: 96px; margin: 0; }
  .dm-rate b { font-size: 27px; } .dm-rate b small { font-size: 13px; } .dm-rate > span { font-size: 10px; margin-top: 4px; }
  .dm-verdict { grid-area: verdict; justify-self: start; }
  .dm-counts { grid-area: counts; }
  .dm-steps { display: none; }
  .demo-foot .eng { display: none; }
}
@media (max-width: 380px) { .demo-tabs b { padding: 4px 8px; } .demo-paper { min-height: 392px; } }

/* ───────── 홈: 검사 칸 · 원칙 ───────── */
.check-sec { position: relative; background: var(--bg2); padding-bottom: clamp(56px, 7vw, 96px); }
.check-box { max-width: 940px; margin: 0 auto; }
.check-box .tool { box-shadow: var(--shadow-lg); }
.statement { position: relative; isolation: isolate; overflow: hidden; background: var(--tint); }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(46% 80% at 100% 0%, rgba(99, 102, 241, .1), transparent 70%); }
.statement .wrap { display: grid; gap: 24px; justify-items: start; }
.statement h2 { font-size: clamp(30px, 4.3vw, 60px); line-height: 1.16; letter-spacing: -.052em; max-width: 15em; }
.statement .lead { max-width: 42em; }
.spec { list-style: none; margin: clamp(16px, 3vw, 36px) 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line2); }
.spec li { display: grid; gap: 8px; align-content: start; padding: 26px 24px 4px 0; min-width: 0; }
.spec li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.spec b { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -.05em; color: var(--ink); }
.spec span { font-size: 15px; color: var(--ink2); line-height: 1.65; }
@media (max-width: 960px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec li:nth-child(3) { padding-left: 0; border-left: 0; } .spec li:nth-child(n+3) { margin-top: 18px; border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .spec { grid-template-columns: minmax(0, 1fr); } .spec li, .spec li + li, .spec li:nth-child(n+3) { margin-top: 0; padding: 20px 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--line); } }

/* ───────── 검사 도구 ───────── */
.tool { position: relative; background: var(--card); color: var(--ink); border: 1px solid var(--line2); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 92px; }
.tool-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); background: var(--bg2); }
.tool-steps li { position: relative; display: flex; align-items: center; gap: 9px; padding: 14px 18px; font-size: 13.5px; font-weight: 650; color: var(--mut); min-width: 0; letter-spacing: -.02em; }
.tool-steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; transition: background-color .3s; }
.tool-steps li.on { color: var(--ink); }
.tool-steps li.on::after { background: var(--ink); }
.tool-steps li.done::after { background: var(--ok); }
.tool-steps li i { font-style: normal; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; border: 1.5px solid var(--line2); flex: none; transition: background-color .3s, border-color .3s, color .3s; }
.tool-steps li.on i { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tool-steps li.done i { background: var(--ok); border-color: var(--ok); color: #fff; }
.tool-body { padding: 22px; display: grid; gap: 14px; }
@media (max-width: 560px) {
  .tool-steps li { flex-direction: column; justify-content: center; gap: 5px; padding: 11px 4px 10px; font-size: 12.5px; text-align: center; white-space: nowrap; }
  .tool-body { padding: 16px; }
  .drop textarea { min-height: 210px; }
}
.kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.kinds label { position: relative; cursor: pointer; }
.kinds input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kinds span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 15px; border-radius: 99px; border: 1px solid var(--line2); font-size: 14px; font-weight: 600; color: var(--ink2); background: var(--card); transition: background-color .15s, border-color .15s, color .15s; letter-spacing: -.02em; }
.kinds label:hover span { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.kinds input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.kinds input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.drop { position: relative; border: 1px solid var(--line2); border-radius: 16px; background: var(--bg); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.drop:focus-within { border-color: color-mix(in srgb, var(--brand) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); }
.drop.over { border-color: var(--brand); border-style: dashed; background: var(--brand-soft); }
.drop textarea { display: block; width: 100%; min-height: 240px; max-height: 52vh; resize: vertical; border: 0; background: transparent; padding: 17px 18px; font-size: 15.5px; line-height: 1.8; outline: none; color: var(--ink); }
.drop textarea::placeholder { color: var(--mut); }
.drop-over { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--brand); font-weight: 650; pointer-events: none; border-radius: 12px; }
.file-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); color: var(--ink); font-size: 14px; min-width: 0; }
.file-chip .ico { color: var(--brand); }
.file-chip b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.file-chip button { margin-left: auto; border: 0; background: transparent; color: var(--mut); cursor: pointer; font-size: 13px; }
.file-chip.warn { background: var(--hi-soft); color: var(--hi); }
.file-chip.warn .ico { color: var(--hi); }
.file-chip.warn b { color: var(--hi); }
.file-chip.warn .small { color: var(--hi); opacity: .85; }
.file-chip.warn button { color: var(--hi); }
.tool-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tool-row .left { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.count { font-size: 13.5px; color: var(--mut); font-variant-numeric: tabular-nums; }
.count b { color: var(--ink); }
.tool-note { font-size: 13px; color: var(--mut); text-align: center; }
.tool-msg { font-size: 14px; padding: 11px 13px; border-radius: 11px; background: var(--hi-soft); color: var(--hi); }
.tool-msg.info { background: var(--brand-soft); color: var(--brand-ink); }
.ck-chip { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); font-size: 14px; }
.ck-chip b { font-weight: 650; }

/* ───────── 검사 중(훑어보기) ───────── */
.scan { position: relative; display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line2); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.scan::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 40%; background: var(--brand); animation: barMove 1.6s var(--ease) infinite; }
@keyframes barMove { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.scan-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.scan-h b { font-size: 17px; letter-spacing: -.03em; }
.scan-h .scan-n { margin-left: auto; font-family: var(--f-mono); font-size: 12.5px; color: var(--mut); }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--bg3); border-top-color: var(--ink); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.scan-doc { position: relative; max-height: 172px; overflow: hidden; padding: 16px 18px; border-radius: 14px; background: var(--bg2); color: var(--mut); font-size: 14.5px; line-height: 1.9; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.scan-doc p { white-space: pre-line; }
.scan-line { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand) 8%, transparent) 70%, color-mix(in srgb, var(--brand) 45%, transparent) 98%, transparent); animation: scanY 2.2s var(--ease) infinite; }
@keyframes scanY { 0% { transform: translateY(-64px); } 100% { transform: translateY(200px); } }
.scan-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.scan-steps li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--mut); transition: color .3s; }
.scan-steps li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line2); flex: none; box-sizing: border-box; transition: all .3s; }
.scan-steps li.on { color: var(--ink); font-weight: 600; }
.scan-steps li.on::before { border-color: var(--brand); background: radial-gradient(circle, var(--brand) 0 3px, transparent 3.5px); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.scan-steps li.done { color: var(--ink2); }
.scan-steps li.done::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.scan .bar { height: 6px; border-radius: 99px; background: var(--bg3); overflow: hidden; }
.scan .bar i { display: block; height: 100%; border-radius: 99px; background: var(--ink); transition: width .5s var(--ease); }
.scan > p { font-size: 13.5px; color: var(--mut); }

/* ───────── 결과확인서 ───────── */
.out-wrap { padding-block: 0; scroll-margin-top: 84px; }
.out-wrap .wrap { padding-block: 32px 8px; }
.rep { position: relative; border: 1px solid var(--line2); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.rep + .rep, .rep + .pay, .pay + .rep, .notice + .rep { margin-top: 18px; }
.rep-h { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 24px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.rep-h small { font-size: 12.5px; font-weight: 700; color: var(--brand); letter-spacing: -.01em; }
.rep-h h3 { font-size: 23px; font-weight: 800; margin-top: 2px; letter-spacing: -.04em; }
.rep-meta { display: grid; grid-template-columns: auto auto; gap: 2px 14px; margin: 0; font-size: 13px; color: var(--mut); }
.rep-meta dd { margin: 0; color: var(--ink2); font-size: 13px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 11px; border-radius: 99px; font-weight: 700; font-size: 13px; letter-spacing: -.01em; justify-self: start; width: fit-content; }
.pill svg { width: 14px; height: 14px; }
.is-unfit .pill, .pill.is-unfit { background: var(--hi); color: #fff; }
.is-risk .pill, .pill.is-risk { background: var(--mid); color: #fff; }
.is-safe .pill, .pill.is-safe { background: var(--ok-soft); color: var(--ok); }
.is-short .pill, .pill.is-short { background: var(--bg3); color: var(--mut); }
.rep-v { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 40px; padding: 26px 24px; border-bottom: 1px solid var(--line); align-items: center; }
.rep-v .verdict { display: grid; gap: 12px; }
.rep-v .verdict h4 { font-size: 20px; letter-spacing: -.035em; line-height: 1.4; text-wrap: balance; }
.rep-v .why { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13.5px; color: var(--mut); }
.rep-v .why li { display: flex; gap: 8px; }
.rep-v .why li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line2); margin-top: .7em; flex: none; }
.gauge { display: grid; gap: 10px; }
.gauge-n { display: flex; align-items: baseline; gap: 10px; }
.gauge-n b { font-size: clamp(44px, 5vw, 60px); line-height: 1; font-weight: 750; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.rep-v.is-unfit .gauge-n b { color: var(--hi); } .rep-v.is-risk .gauge-n b { color: var(--mid); } .rep-v.is-safe .gauge-n b { color: var(--ok); }
.gauge-n span { color: var(--mut); font-size: 13.5px; font-weight: 600; }
.gauge-bar { position: relative; height: 8px; border-radius: 99px; background: var(--bg3); }
.gauge-bar::before, .gauge-bar::after { content: ""; position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--line2); }
.gauge-bar::before { left: 20%; } .gauge-bar::after { left: 40%; }
.gauge-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--ink); transition: width 1.2s var(--ease); z-index: 1; }
.gauge-bar i::after { content: ""; position: absolute; right: -7px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--card); border: 3px solid currentColor; box-shadow: var(--shadow-sm); }
.rep-v.is-unfit .gauge-bar i { background: var(--hi); color: var(--hi); }
.rep-v.is-risk .gauge-bar i { background: var(--mid); color: var(--mid); }
.rep-v.is-safe .gauge-bar i { background: var(--ok); color: var(--ok); }
.rep-v.is-short .gauge-bar i { color: var(--mut); background: var(--mut); }
.gauge-bands { display: flex; font-size: 11.5px; font-weight: 600; color: var(--mut); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gauge-bands span { padding-left: 2px; }
.gauge-bands .b-ok { width: 20%; } .gauge-bands .b-mid { width: 20%; } .gauge-bands .b-hi { flex: 1; display: flex; justify-content: space-between; }
.gauge-bands .b-hi i { font-style: normal; font-weight: 500; }
.rep-v.is-safe .gauge-bands .b-ok { color: var(--ok); font-weight: 700; } .rep-v.is-risk .gauge-bands .b-mid { color: var(--mid); font-weight: 700; } .rep-v.is-unfit .gauge-bands .b-hi { color: var(--hi); font-weight: 700; }
.rep-v.is-unfit .gauge-bands .b-hi i { color: var(--mut); font-weight: 500; }
@media (max-width: 420px) { .gauge-bands { font-size: 10.5px; } }
@media (max-width: 760px) { .rep-v { grid-template-columns: minmax(0, 1fr); gap: 20px; } .rep-h { gap: 10px 20px; } .rep-meta { grid-template-columns: auto 1fr; gap: 2px 12px; } .rep-meta dd { text-align: left; } }
.stats-sec { gap: 12px; }
.rep-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; margin: 0; }
.rep-stats > div { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); min-width: 0; }
.rep-stats dt { font-size: 12.5px; color: var(--mut); font-weight: 600; letter-spacing: -.01em; }
.rep-stats dd { margin: 0; font-size: 24px; font-weight: 750; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.15; color: var(--ink); }
.rep-stats.is-unfit dd.rate { color: var(--hi); } .rep-stats.is-risk dd.rate { color: var(--mid); } .rep-stats.is-safe dd.rate { color: var(--ok); }
.rep-stats.is-unfit dd.warn { color: var(--hi); } .rep-stats.is-risk dd.warn { color: var(--mid); }
@media (max-width: 480px) { .rep-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rep-stats dd { font-size: 22px; } }
.rep-sec { padding: 20px 24px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.rep-sec:last-child { border-bottom: 0; }
.rep-sec h4 { font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.rep-sec h4 .cnt { font-size: 12px; color: var(--mut); font-weight: 600; padding: 2px 9px; border-radius: 99px; background: var(--bg2); }
.opinion { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink2); font-size: 14.5px; }

/* 결과확인서 목표별 작업 계획 */
.plan-t { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; font-variant-numeric: tabular-nums; }
.plan-t th { font-size: 12.5px; font-weight: 650; color: var(--mut); background: var(--bg2); padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.plan-t td { padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; color: var(--ink2); }
.plan-t tr:last-child td { border-bottom: 0; }
.plan-t td.tg b { color: var(--ink); font-size: 15px; letter-spacing: -.03em; }
.plan-t td.est b { color: var(--ok); font-size: 17px; letter-spacing: -.03em; }
.plan-t td.est b.c-mid { color: var(--mid); } .plan-t td.est b.c-hi { color: var(--hi); }
.plan-t td.est small { margin-left: 6px; font-size: 12px; font-weight: 650; color: var(--mut); }
.plan-t td.n b { color: var(--ink); }
.plan-t tr.all td { background: var(--tint); }
.plan-t td:last-child { text-align: right; }
.plan-t .btn-s { min-height: 34px; padding: 0 12px; font-size: 13.5px; }
.rep-sec .tbl-wrap { border-radius: 14px; }
@media (max-width: 700px) {
  .plan-wrap { overflow: visible; border: 0; background: transparent; }
  .plan-t { min-width: 0; display: block; }
  .plan-t thead { display: none; }
  .plan-t tbody { display: grid; gap: 10px; }
  .plan-t tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; padding: 14px 16px 16px; border: 1px solid var(--line2); border-radius: 14px; background: var(--card); }
  .plan-t tr.all { background: var(--tint); }
  .plan-t td { display: block; padding: 0; border: 0; white-space: normal; font-size: 14px; }
  .plan-t td::before { content: attr(data-th); display: block; font-size: 11.5px; color: var(--mut); margin-bottom: 1px; }
  .plan-t td.tg { grid-column: 1 / -1; }
  .plan-t td.tg::before { display: none; }
  .plan-t td.tg b { font-size: 17px; }
  .plan-t td.act { grid-column: 1 / -1; text-align: left; margin-top: 6px; }
  .plan-t td.act .btn { width: 100%; }
}

/* 문서 보기: 표시는 형광펜처럼 */
.doc { max-height: 560px; overflow-y: auto; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font-size: 15.5px; line-height: 2; }
.doc p + p { margin-top: 14px; }
.doc .s { border-radius: 3px; padding: 2px 0; }
.doc .s-hi, .doc .s-mid, .doc .s-low, .doc .s-new { background-repeat: no-repeat; background-position: 0 0; background-size: 100% 100%; transition: background-size .65s var(--ease); -webkit-box-decoration-break: slice; box-decoration-break: slice; }
.doc .s-hi { background-image: linear-gradient(var(--hi-mark), var(--hi-mark)); }
.doc .s-mid { background-image: linear-gradient(var(--mid-mark), var(--mid-mark)); }
.doc .s-low { background-image: linear-gradient(var(--low-mark), var(--low-mark)); }
.doc .s-new { background-image: linear-gradient(var(--ok-mark), var(--ok-mark)); }
.doc.sweep .s-hi, .doc.sweep .s-mid, .doc.sweep .s-low, .doc.sweep .s-new { background-size: 0% 100%; }
.doc.sweep .on { background-size: 100% 100%; }
.doc .sc { display: inline-block; font-family: var(--f-mono); font-size: 11px; font-weight: 600; padding: 0 6px; margin-left: 5px; border-radius: 99px; vertical-align: 1px; line-height: 19px; color: #fff; }
.doc .s-hi .sc { background: var(--hi); } .doc .s-mid .sc { background: var(--mid); } .doc .s-low .sc { background: var(--low); }
.doc .lab, .mini-doc .lab { display: inline-block; font-size: 11px; font-weight: 750; padding: 0 7px; margin-right: 6px; border-radius: 99px; line-height: 19px; vertical-align: 1px; color: #fff; }
.doc .lab.hi, .mini-doc .lab.hi { background: var(--hi); } .doc .lab.mid, .mini-doc .lab.mid { background: var(--mid); } .doc .lab.low, .mini-doc .lab.low { background: var(--low); }
.doc del { color: var(--mut); text-decoration-color: var(--hi); }
.doc ins { text-decoration: none; background: var(--ok-mark); border-radius: 3px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--mut); }
.legend i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.legend .l-hi i { background: var(--hi-mark); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hi) 40%, transparent); }
.legend .l-mid i { background: var(--mid-mark); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mid) 40%, transparent); }
.legend .l-low i { background: var(--low-mark); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--low) 40%, transparent); }
.legend .l-new i { background: var(--ok-mark); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 40%, transparent); }
.lockline { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg2); border: 1px dashed var(--line2); font-size: 14px; color: var(--ink2); }
.lockline .ico { color: var(--mut); }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .feats { grid-template-columns: minmax(0, 1fr); } }
.feat { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; background: var(--card); min-width: 0; }
.feat-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.feat-h b { font-size: 15px; }
.feat-h span { font-size: 12.5px; font-weight: 600; color: var(--mut); font-variant-numeric: tabular-nums; }
.feat p { font-size: 13.5px; color: var(--ink2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12.5px; padding: 2px 9px; border-radius: 99px; background: var(--hi-soft); color: var(--hi); }
.feat.lock { background: var(--bg2); }
.feat.lock .tags span { background: var(--bg3); color: var(--mut); filter: blur(3px); user-select: none; }

/* 결과가 나타날 때 */
.rep.pop, .pay.pop { animation: rise .6s var(--ease) both; }
.pay.pop { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rep.pop .pill { animation: pillIn .5s .35s var(--ease) both; }
@keyframes pillIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* 결제 안내(결과 아래) */
.pay { position: relative; border: 1px solid var(--line2); border-radius: 22px; background: var(--tint); padding: 26px; display: grid; gap: 18px; }
.pay > *, .modal-in > *, .tool-body > *, .rep-sec > * { min-width: 0; }
.pay-h { display: grid; gap: 6px; }
.pay-h h3 { font-size: 23px; font-weight: 800; letter-spacing: -.04em; }
.pay-h p { color: var(--ink2); font-size: 15px; }
.pay-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .pay-opts { grid-template-columns: minmax(0, 1fr); } }
.pay-opt { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 16px; border: 1px solid var(--line2); background: var(--card); }
.pay-opt.rec { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset, var(--shadow); }
.pay-opt h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 17px; }
.pay-opt .cost { font-size: 14px; color: var(--ink2); }
.pay-opt .cost b { color: var(--ink); font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.pay-opt ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink2); display: grid; gap: 3px; }
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11.5px; font-weight: 750; background: var(--brand); color: #fff; letter-spacing: .01em; white-space: nowrap; }
.badge.soft { background: var(--brand-soft); color: var(--brand-ink); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.pay-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--mut); }

/* 휴머나이징 결과 */
.hz-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.hz-stat { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); min-width: 130px; }
.hz-stat span { font-size: 12.5px; color: var(--mut); }
.hz-stat b { font-size: 24px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.hz-stat b.down { color: var(--ok); }
.seg-tabs { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); gap: 2px; justify-self: start; }
.seg-tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 9px; font-size: 14px; font-weight: 650; color: var(--mut); cursor: pointer; }
.seg-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.pairs { display: grid; gap: 10px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pair > div { padding: 13px 15px; font-size: 14.5px; line-height: 1.85; min-width: 0; }
.pair > div:first-child { background: var(--bg2); color: var(--ink2); border-right: 1px solid var(--line); }
.pair small { display: block; font-size: 12px; font-weight: 650; color: var(--mut); margin-bottom: 4px; }
@media (max-width: 700px) { .pair { grid-template-columns: minmax(0, 1fr); } .pair > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); } }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* ───────── 충전 창 ───────── */
fieldset { min-inline-size: 0; }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) var(--gutter-r) max(16px, env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: rgba(10, 11, 16, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadeIn .2s var(--ease); }
.modal-in { position: relative; width: min(680px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--card); border-radius: 24px; box-shadow: 0 40px 100px rgba(0, 0, 0, .35); padding: 28px; display: grid; gap: 18px; animation: rise .35s var(--ease); }
.modal-x { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 11px; border: 0; background: var(--bg2); cursor: pointer; font-size: 20px; color: var(--ink2); }
.modal h2 { font-size: 25px; padding-right: 40px; }
.need { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg2); font-size: 14px; color: var(--ink2); }
.need b { color: var(--ink); font-variant-numeric: tabular-nums; }
.modal .need { display: block; line-height: 1.7; }
.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .packs { grid-template-columns: minmax(0, 1fr); } }
.pk { position: relative; display: grid; gap: 4px; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--card); cursor: pointer; text-align: left; transition: border-color .15s, background-color .15s; }
.pk:hover { border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.pk input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pk:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; background: var(--bg2); }
.pk:has(input:focus-visible) { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.pk-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pk-top b { font-size: 15.5px; }
.pk-tok { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.pk-tok small { font-size: 13px; font-weight: 650; color: var(--ok); margin-left: 4px; }
.pk-price { font-size: 15px; font-weight: 650; color: var(--ink2); font-variant-numeric: tabular-nums; }
.pk-who { font-size: 12.5px; color: var(--mut); }
.flow2 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--mut); }
.flow2 .ico { width: 15px; height: 15px; color: var(--ok); }
.flow2 b { color: var(--ink2); }
.code-box { display: grid; gap: 8px; padding: 15px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg2); }
.code-box > * { min-width: 0; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1 1 0; width: 0; min-width: 0; min-height: 46px; border-radius: 11px; border: 1px solid var(--line2); background: var(--card); padding: 0 12px; font-family: var(--f-mono); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.code-row input:focus { outline: none; border-color: var(--brand); }
.code-msg { font-size: 13.5px; color: var(--mut); }
.code-msg.ok { color: var(--ok); }
.code-msg.bad { color: var(--hi); }
.fine { font-size: 12.5px; color: var(--mut); line-height: 1.65; }
.pay-form { position: relative; display: grid; gap: 12px; }
.fld { display: grid; gap: 6px; font-size: 14px; font-weight: 650; color: var(--ink2); }
.fld input { min-height: 46px; border-radius: 11px; border: 1px solid var(--line2); background: var(--card); padding: 0 12px; font-size: 15px; font-weight: 400; color: var(--ink); }
.fld input:focus { outline: none; border-color: var(--brand); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink2); line-height: 1.55; cursor: pointer; }
.chk input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.chk a { text-decoration: underline; text-underline-offset: 2px; }
.pay-banner { background: var(--brand-soft); border-bottom: 1px solid var(--line); }
.pay-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 14px; font-size: 14.5px; color: var(--ink2); }
.pay-banner b { color: var(--ink); font-size: 15.5px; }
.pay-banner .mono { font-family: var(--f-mono); font-size: 16px; font-weight: 600; letter-spacing: .06em; color: var(--brand-ink); background: var(--card); padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line2); }
.pay-banner.ok { background: var(--ok-soft); }
.pay-banner.bad { background: var(--hi-soft); }

/* ───────── 통계 ───────── */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line2); }
.stat { display: grid; gap: 14px; align-content: start; padding: 30px 28px 6px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-n { display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.stat-n b { font-size: clamp(48px, 6vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.stat-n span { font-size: 22px; font-weight: 750; color: var(--ink2); letter-spacing: -.03em; }
.stat p { font-size: 15.5px; color: var(--ink2); line-height: 1.7; }
.stat cite { font-style: normal; font-size: 12.5px; color: var(--mut); }
@media (max-width: 860px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* ───────── 단계 ───────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: st; border-top: 1px solid var(--line2); }
.steps li { counter-increment: st; position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(st, decimal-leading-zero); font-size: 56px; font-weight: 250; line-height: 1; letter-spacing: -.05em; color: var(--mut); opacity: .55; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.steps li p { color: var(--ink2); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li, .steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps.four li:nth-child(3) { padding-left: 0; border-left: 0; } .steps.four li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .steps.four { grid-template-columns: minmax(0, 1fr); } .steps.four li, .steps.four li + li { padding: 24px 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--line); } }

/* ───────── 패턴 예시(눌러서 바꾸기) ───────── */
.pats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .pats { grid-template-columns: minmax(0, 1fr); } }
.pat { border: 1px solid var(--line); border-radius: 24px; background: var(--card); padding: 26px; display: grid; gap: 16px; min-width: 0; transition: box-shadow .3s, border-color .3s; }
.pat:hover { box-shadow: var(--shadow); border-color: var(--line2); }
.pat-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pat-h b { font-size: 18px; letter-spacing: -.035em; }
.pat-ex { font-size: 16px; line-height: 1.95; padding: 16px 18px; border-radius: 16px; background: var(--bg2); min-height: 100px; }
.pat-ex .x, .pat-ex .o { border-radius: 4px; padding: 2px 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pat-ex .x { background: var(--hi-mark); color: var(--ink); }
.pat-ex .o { background: var(--ok-mark); color: var(--ink); }
.pat-ex.swap { animation: swapIn .4s var(--ease); }
@keyframes swapIn { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pat p.d { font-size: 14.5px; color: var(--ink2); }
.switch { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--bg2); border: 1px solid var(--line); flex: none; }
.switch button { border: 0; background: transparent; padding: 5px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 650; color: var(--mut); cursor: pointer; transition: background-color .2s, color .2s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ───────── 요금 ───────── */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 24px 24px; border-radius: 24px; border: 1px solid var(--line2); background: var(--card); transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan.best { --card: var(--best-bg); --ink: #ffffff; --ink2: #b4b7c4; --mut: #858998; --line: rgba(255, 255, 255, .1); --line2: rgba(255, 255, 255, .18); --ok: #5fe2b5; --ok-soft: rgba(95, 226, 181, .14); --btn: #ffffff; --btn-ink: #0e1017; --btn-hover: #e6e7ee;
  background: var(--best-bg); border-color: var(--best-bd); color: #b4b7c4; box-shadow: 0 30px 60px -30px rgba(14, 16, 23, .55); }
.plan .badge { position: absolute; top: 22px; right: 20px; background: var(--brand-soft); color: var(--brand-ink); }
.plan.best .badge { background: #ffffff; color: #0e1017; }
.plan h3 { font-size: 17px; color: var(--ink2); }
.plan .tok { font-size: 42px; font-weight: 800; letter-spacing: -.055em; font-variant-numeric: tabular-nums; line-height: 1.05; color: var(--ink); }
.plan .tok small { font-size: 15px; font-weight: 650; color: var(--mut); margin-left: 4px; letter-spacing: -.01em; }
.plan .bonus { font-size: 13px; color: var(--ok); font-weight: 650; }
.plan .price { font-size: 19px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.03em; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); }
.plan .price small { display: block; font-size: 12.5px; color: var(--mut); font-weight: 500; letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink2); display: grid; gap: 6px; }
.plan ul li { display: flex; gap: 8px; }
.plan ul li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; flex: none; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.plan .btn-g { background: transparent; }
.calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; padding: 28px; border-radius: 24px; border: 1px solid var(--line2); background: var(--card); margin-top: 22px; align-items: center; }
@media (max-width: 820px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc label { font-weight: 650; font-size: 15px; display: block; margin-bottom: 8px; }
.calc input[type="range"] { width: 100%; accent-color: var(--ink); }
.calc .presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.calc .presets button { border: 1px solid var(--line2); background: var(--card); border-radius: 99px; padding: 5px 12px; font-size: 13px; cursor: pointer; color: var(--ink2); }
.calc .presets button:hover { border-color: var(--ink2); }
.calc-out { display: grid; gap: 8px; padding: 18px; border-radius: 16px; background: var(--bg2); }
.calc-out .row { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; color: var(--ink2); }
.calc-out .row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-out .sum { border-top: 1px solid var(--line2); padding-top: 8px; margin-top: 2px; font-size: 16px; }
.calc-out .sum b { font-size: 21px; letter-spacing: -.03em; }
.rate-t { width: 100%; border-collapse: collapse; font-size: 15px; }
.rate-t th, .rate-t td { padding: 14px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rate-t th { font-size: 13.5px; color: var(--mut); font-weight: 650; background: var(--bg2); }
.rate-t tr:last-child td { border-bottom: 0; }
.rate-t td.n { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line2); border-radius: 18px; background: var(--card); }

/* ───────── 기능 묶음 · 카드 ───────── */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature .txt { display: grid; gap: 20px; justify-items: start; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.points li .ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; color: var(--ink); background: var(--card); border: 1px solid var(--line2); box-shadow: var(--shadow-sm); }
.points li b { display: block; font-size: 16.5px; letter-spacing: -.03em; }
.points li span { color: var(--ink2); font-size: 15px; }
.sheet { position: relative; border: 1px solid var(--line2); border-radius: 20px; background: var(--card); box-shadow: var(--shadow-lg); overflow: hidden; }
.sheet-h { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 18px 13px 72px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--mut); background: var(--bg2); }
.sheet-h::before { content: ""; position: absolute; left: 18px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #ff6159; box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #28c941; }
.sheet-h b { color: var(--ink); font-size: 15px; letter-spacing: -.03em; }
.sheet .ex-tag { font-size: 11.5px; font-weight: 650; padding: 2px 9px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); color: var(--mut); }
.sheet-b { padding: 18px; display: grid; gap: 14px; }
.mini-t { width: 100%; border-collapse: collapse; font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
.mini-t th { background: var(--bg2); font-weight: 650; color: var(--ink2); padding: 7px 4px; border: 1px solid var(--line); }
.mini-t td { padding: 10px 4px; font-weight: 800; font-size: 19px; border: 1px solid var(--line); letter-spacing: -.03em; }
.mini-doc { font-size: 14px; line-height: 2; color: var(--ink2); }
.mini-doc .s-hi, .mini-doc .s-mid, .mini-doc .s-low { border-radius: 3px; padding: 2px 0; background-repeat: no-repeat; background-size: 100% 100%; transition: background-size .7s var(--ease); -webkit-box-decoration-break: slice; box-decoration-break: slice; }
.mini-doc .s-hi { background-image: linear-gradient(var(--hi-mark), var(--hi-mark)); }
.mini-doc .s-mid { background-image: linear-gradient(var(--mid-mark), var(--mid-mark)); }
.mini-doc .s-low { background-image: linear-gradient(var(--low-mark), var(--low-mark)); }
.mini-doc .s-new { border-radius: 3px; padding: 2px 0; background: linear-gradient(var(--ok-mark), var(--ok-mark)) no-repeat 0 0 / 100% 100%; transition: background-size .7s var(--ease); -webkit-box-decoration-break: slice; box-decoration-break: slice; }
[data-hl].sweep .s-hi, [data-hl].sweep .s-mid, [data-hl].sweep .s-low, [data-hl].sweep .s-new { background-size: 0% 100%; }
[data-hl].sweep .on { background-size: 100% 100% !important; }

.cards { display: grid; gap: 14px; }
.card { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: var(--card); display: grid; gap: 10px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card h3 { font-size: 19px; }
.card p { color: var(--ink2); font-size: 15px; }
.card .ci { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); color: var(--ink); margin-bottom: 6px; }
.card .ci .ico { width: 21px; height: 21px; }
.card-pick { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset, var(--shadow); }
a.card { color: inherit; text-decoration: none !important; }
a.card:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: var(--shadow); }
a.card .more { margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
a.card:hover .more { color: var(--brand); }

/* 전문가 띠 */
.expert { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--night); align-items: center; }
.expert::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 0% 0%, rgba(99, 102, 241, .26), transparent 62%), radial-gradient(45% 70% at 100% 100%, rgba(56, 189, 248, .1), transparent 66%); }
.expert::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .05; mix-blend-mode: overlay; }
.expert h2 { font-size: clamp(26px, 3.1vw, 42px); }
.expert ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.expert li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink2); }
.expert li .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--ok); background: var(--ok-soft); stroke-width: 2.6; margin-top: 2px; }
.expert .btn-g { background: transparent; }
@media (max-width: 860px) { .expert { grid-template-columns: minmax(0, 1fr); } }

/* ───────── 자주 묻는 질문 ───────── */
.faq { display: grid; border-top: 1px solid var(--line2); }
.qa { border-bottom: 1px solid var(--line2); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 2px; font-weight: 700; font-size: 18px; letter-spacing: -.035em; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d818e' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform .35s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--brand); }
.qa .a { padding: 0 2px 26px; color: var(--ink2); font-size: 16px; display: grid; gap: 10px; max-width: 780px; line-height: 1.8; }

/* ───────── 글(가이드 · 약관) ───────── */
.prose { max-width: 760px; font-size: 17px; line-height: 1.9; color: var(--ink); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 56px; }
.prose h3 { font-size: 20px; margin-top: 34px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.prose li { padding-left: 2px; }
.prose blockquote { margin: 0; padding: 16px 20px; border-left: 2px solid var(--ink); background: var(--bg2); border-radius: 0 12px 12px 0; color: var(--ink2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg2); font-size: 14px; color: var(--ink2); }
.prose .tbl-wrap { border: 1px solid var(--line2); border-radius: 16px; overflow-x: auto; }
.prose .tbl-wrap table th:first-child, .prose .tbl-wrap table td:first-child { padding-left: 16px; }
.prose code { font-family: var(--f-mono); font-size: .88em; background: var(--bg2); padding: 1px 6px; border-radius: 6px; }
.prose .ba { display: grid; gap: 0; border-radius: 18px; border: 1px solid var(--line2); background: var(--card); font-size: 15.5px; overflow: hidden; }
.prose .ba p { margin: 0; padding: 14px 18px; line-height: 1.8; }
.prose .ba .b { color: var(--ink2); background: var(--bg2); }
.prose .ba .a { border-top: 1px solid var(--line); }
.prose .ba .b::before, .prose .ba .a::before { display: inline-block; margin-right: 9px; padding: 0 8px; border-radius: 99px; font-size: 11px; font-weight: 750; line-height: 20px; vertical-align: 1px; }
.prose .ba .b::before { content: "AI 문장"; background: var(--hi-soft); color: var(--hi); }
.prose .ba .a::before { content: "고친 문장"; background: var(--ok-soft); color: var(--ok); }
.prose .src { font-size: 13.5px; color: var(--mut); }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--mut); }
.toc { padding: 20px 22px; border-radius: 18px; background: var(--bg2); border: 1px solid var(--line); font-size: 15px; }
.toc b { display: block; margin-bottom: 6px; font-size: 14px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 3px; }
.layout-art { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.aside-cta { position: sticky; top: 96px; display: grid; gap: 12px; padding: 24px; border-radius: 22px; border: 1px solid var(--line2); background: var(--card); box-shadow: var(--shadow); }
.aside-cta h3 { font-size: 18px; }
.aside-cta p { font-size: 14px; color: var(--ink2); }
@media (max-width: 1000px) { .layout-art { grid-template-columns: minmax(0, 1fr); } .aside-cta { position: static; } }

/* ───────── 마무리 띠 ───────── */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--night); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 0%, rgba(99, 102, 241, .24), transparent 65%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .05; mix-blend-mode: overlay; }
.cta-band .wrap { display: grid; justify-items: center; text-align: center; gap: 28px; padding-block: clamp(80px, 10vw, 136px); }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 60px); letter-spacing: -.05em; }
.cta-band p { color: var(--ink2); margin-top: 14px; font-size: 18px; }
.cta-band .row-btns { justify-content: center; }
.cta-band .btn-g { background: transparent; }

/* ───────── 바닥 ───────── */
.ft { background: var(--night); border-top: 1px solid var(--line); padding-block: 64px 44px; font-size: 14px; color: var(--ink2); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; } }
.ft-brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
.ft-brand p { color: var(--mut); font-size: 13.5px; max-width: 32em; }
.ft h4 { font-size: 13px; color: var(--mut); font-weight: 650; margin-bottom: 12px; letter-spacing: .01em; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ft a { color: var(--ink2); }
.ft a:hover { color: #fff; }
.ft-biz { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; font-size: 12.5px; color: var(--mut); line-height: 1.75; }
.ft-biz .row { display: flex; flex-wrap: wrap; gap: 2px 14px; min-width: 0; }
.ft-biz .row span { white-space: nowrap; }
@media (max-width: 640px) { .ft-biz .row span { white-space: normal; overflow-wrap: anywhere; } }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line2); background: var(--card); color: var(--ink2); }
.badges .ico { width: 15px; height: 15px; color: var(--ok); }

/* ───────── 아래 고정 단추(휴대폰) · 상담 ───────── */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter-r) max(10px, env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: none; gap: 8px; }
.dock.on { display: flex; animation: dockIn .3s var(--ease); }
@keyframes dockIn { from { transform: translateY(100%); } to { transform: none; } }
.dock .btn { flex: 1; }
.dock .btn-g { flex: 0 0 auto; padding: 0 18px; }
@media (min-width: 900px) { .dock, .dock.on { display: none; } }
.talk { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 41; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 99px; background: #0e1017; color: #fff; font-weight: 700; font-size: 14.5px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 16px 40px -12px rgba(14, 16, 23, .55); text-decoration: none !important; transition: transform .2s var(--ease); }
.talk:hover { transform: translateY(-2px); }
.talk .ico { color: #5fe2b5; }
@media (max-width: 899px) { .talk { display: none; } }

/* 토스트 */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 95; background: #0e1017; color: #fff; padding: 12px 18px; border-radius: 13px; font-size: 14.5px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); max-width: calc(100% - 32px); animation: rise .3s var(--ease); }

/* 잡다한 것 */
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.center { text-align: center; }
.stack { display: grid; gap: 12px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.kicker { font-size: 14px; color: var(--mut); }
.src-list { font-size: 12.5px; color: var(--mut); margin-top: 18px; }
.src-list a { color: var(--mut); text-decoration: underline; text-underline-offset: 2px; }
.notice { padding: 15px 17px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); font-size: 14px; color: var(--ink2); }
