/* 이편한자막 웹 공통 스타일 — 홈(/), 서비스 소개(/service), 요금제, 학습(/app), 계정, 로그인, 약관이 같이 쓴다.
   기준: 흰 바탕 · 짙은 남색 글씨 · 연회색 면 · 둥근 카드와 알약 버튼 · 부드러운 그림자 · 짧은 문구.
   색의 뜻은 확장과 같다: 먹색 = 원문, 파랑(--easy) = 쉬운말, 노랑(--sign) = 수어. */

:root {
  --bg: #ffffff;
  --bg-2: #f4f5f7;        /* 연회색 면(카드 바탕, 입력칸 등) */
  --bg-3: #eceef2;
  --card: #ffffff;
  --ink: #0f1729;
  --ink-2: #4a5263;
  --ink-3: #5f6776;
  --line: #eceef2;
  --line-2: #dcdfe5;
  --sign: #ffd60a;
  --sign-ink: #3d3200;
  --easy: #1366e4;
  --easy-soft: #e9f1fe;
  --good: #16a34a;
  --bad: #e5484d;
  --maxw: 1120px;
  --gut: clamp(20px, 4vw, 32px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;          /* 상단 메뉴 막대의 높이 — 그 아래 붙는 요소의 top */
  --r: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 41, .04), 0 12px 32px -12px rgba(15, 23, 41, .14);
  --shadow-lg: 0 2px 4px rgba(15, 23, 41, .04), 0 24px 60px -20px rgba(15, 23, 41, .25);
  /* 어두운 강조 면(학습 "오늘 할 일", 서비스 소개 요금 띠 등). --ink를 배경으로 쓰면 다크 모드에서 흰 판이 되므로 따로 둔다 */
  --panel: #0f1729; --panel-ink: #ffffff; --panel-line: transparent;
  --glass: rgba(255, 255, 255, .86); /* 스크롤한 상단 메뉴 바탕 */
  /* 가짜 영상 화면(데모) 바탕 — 밝은 하늘빛. 다크 모드에서는 --easy·--bg가 바뀌어 저절로 어두워진다 */
  --frame: linear-gradient(165deg, color-mix(in srgb, var(--easy) 20%, var(--bg)), var(--bg-3));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* 남색 기운 없는 중성 어둠 — 면은 한 단계씩만 밝아진다 */
    --bg: #111113; --bg-2: #1c1c1f; --bg-3: #26262a; --card: #18181b; --ink: #f4f4f5; --ink-2: #b9b9c0; --ink-3: #85858e;
    --line: #26262a; --line-2: #34343a; --easy: #4c9dff; --easy-soft: rgba(76, 157, 255, .14); --good: #3fbf74; --bad: #ff6b6b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
    --panel: #1b1e27; --panel-ink: #f4f4f5; --panel-line: #2b2f3b;
    --glass: rgba(17, 17, 19, .86);
    color-scheme: dark;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.6; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere;
  color: var(--ink); background: var(--bg); min-height: 100vh;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: none; }
img, video { max-width: 100%; display: block; }
::selection { background: var(--sign); color: #111; }
/* 초점 테두리는 요소의 원래 모서리를 따라간다 — 여기서 border-radius를 바꾸면 초점이 갈 때마다 버튼 모양이 달라진다 */
:focus-visible { outline: 2px solid var(--easy); outline-offset: 3px; }
/* 옆·아래 버튼이 테두리 위에 덧그려져 잘리지 않게 초점 요소를 한 층 위로. :where라 이미 층을 정한 메뉴·팝업은 그대로 */
:where(:focus-visible) { z-index: 1; }
/* 모서리 값이 없는 링크·글 줄은 각진 테두리 대신 살짝 둥글게 */
:where(a, summary, [role="button"], [tabindex]):where(:focus-visible) { border-radius: 6px; } /* 특이도 0 — 자기 모서리가 있는 버튼·알약은 그대로 */
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

/* ───────── 글자 ───────── */
/* 제목은 줄 길이를 고르게, 문단은 마지막 줄에 한 낱말만 남지 않게(지원 안 하는 브라우저는 그냥 무시) */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, figcaption, dd, blockquote { text-wrap: pretty; }
.display { font-size: clamp(36px, 5.4vw, 60px); font-weight: 750; line-height: 1.22; letter-spacing: -0.04em; }
.h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 750; line-height: 1.3; letter-spacing: -0.035em; }
.h3 { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; line-height: 1.4; letter-spacing: -0.03em; }
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--ink-2); line-height: 1.7; }
.center { text-align: center; }
/* 형광펜: 확장이 낱말을 칠하는 색 그대로 — 파랑 = 쉬운말, 노랑 = 수어 */
mark.hl-easy, mark.hl-sign { color: inherit; padding: 0 .08em; border-radius: .12em; }
mark.hl-easy { background: linear-gradient(transparent 58%, rgba(19, 102, 228, .24) 58%); }
mark.hl-sign { background: linear-gradient(transparent 58%, rgba(255, 214, 10, .6) 58%); }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--easy); }
.kicker.sign { color: #9a7a00; }
.kicker.ink { color: var(--ink-2); }

/* ───────── 상단 메뉴 ─────────
   화면 위에 붙은 막대. 맨 위에선 바탕 없이, 내리면(.scrolled) 흰 바탕과 아래 선 한 줄만 생긴다 — 크기·위치는 그대로라 들썩이지 않는다. */
.top { position: sticky; top: 0; z-index: 40; height: var(--nav-h); display: flow-root; } /* flow-root: 막대의 위 여백이 밖으로 새지 않게 */
/* 맨 위에서는 바탕 없는 막대. 내리면 화면 위에서 한 뼘 떨어진 흰 막대가 된다 — 폭은 본문과 같고 유리 흐림 없이 또렷한 면 */
.top-bar { position: relative; max-width: var(--maxw); margin: 0 auto; height: var(--nav-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); border-radius: 0; background: transparent; box-shadow: none;
  transition: margin .3s var(--ease), height .3s var(--ease), padding .3s var(--ease), border-radius .3s, background .3s, box-shadow .3s; }
.top.scrolled .top-bar { max-width: min(var(--maxw), calc(100% - 24px)); height: calc(var(--nav-h) - 14px); margin-top: 12px; padding: 0 12px 0 18px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line-2), 0 6px 20px -12px rgba(15, 23, 41, .18); }
@media (prefers-reduced-motion: reduce) { .top { transition: none; } }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; letter-spacing: -0.03em; flex-shrink: 0; }
.logo img { width: 26px; height: 24px; object-fit: contain; }
.top-menu { display: flex; gap: 2px; margin: 0 auto; }
.top-menu a { position: relative; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.top-menu a:hover { color: var(--ink); }
.top-menu a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.top-menu a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ink); }
.top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-menu ~ .top-right { margin-left: 0; }
.me-btn { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: box-shadow .2s; }
.me-btn .avatar { width: 34px; height: 34px; }
.me-btn:hover { box-shadow: 0 0 0 3px var(--bg-3); }
.learn-btn { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink); font-size: 14px; font-weight: 650; transition: background .2s; }
.learn-btn:hover { background: var(--bg-3); }
.learn-btn i { display: grid; width: 15px; height: 15px; }
.learn-btn svg { width: 100%; height: 100%; }
.learn-btn[aria-current="page"] { background: var(--ink); color: var(--bg); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-3); display: grid; place-items: center; font-size: 13px; font-weight: 800; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.plan-tag { font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 2px 7px; border-radius: 999px; background: var(--bg-3); color: var(--ink-2); }
.plan-tag.pro { background: var(--ink); color: var(--bg); }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 12px; place-items: center; }
.menu-toggle:hover { background: var(--bg-2); }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-pop { position: absolute; right: max(var(--gut), calc((100vw - var(--maxw)) / 2 + var(--gut))); top: calc(var(--nav-h) + 6px); min-width: 240px; background: var(--card); border-radius: 14px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); padding: 8px; display: grid; animation: pop .25s var(--ease) both; }
.menu-pop .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-pop .who b { display: block; font-size: 14.5px; }
.menu-pop .who small { color: var(--ink-3); font-size: 12.5px; }
.menu-pop a, .menu-pop button { text-align: left; padding: 11px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--bg-2); }
@media (max-width: 860px) {
  .top-menu { display: none; }
  .menu-toggle { display: grid; }
  .top-right .btn-soft { display: none; }
  .top-menu ~ .top-right { margin-left: auto; }
  /* 휴대폰에선 흐림(backdrop-filter)이 스크롤마다 다시 그려져 끊겨 보인다 — 불투명 바탕으로 */
  .top-bar { gap: 12px; padding-right: calc(var(--gut) - 8px); }
  .top.is-app .top-menu.app-menu { display: flex; }
  .top.is-app .menu-toggle { display: none; }
}
@media (max-width: 400px) { .learn-btn span { display: none; } .learn-btn { width: 34px; padding: 0; justify-content: center; } .top-right { gap: 6px; } }
@media (max-width: 340px) { .logo-text { display: none; } }

/* ───────── 버튼·입력 ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 14px; font-size: 15px; font-weight: 700; white-space: nowrap; border: 0; transition: background .2s, color .2s, box-shadow .2s, transform .35s var(--ease), opacity .2s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover:not(:disabled) { opacity: .88; }
.btn-soft { background: var(--bg-2); color: var(--ink); }
.btn-soft:hover:not(:disabled) { background: var(--bg-3); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }
.btn-ghost:hover:not(:disabled) { box-shadow: 0 0 0 1px var(--ink-3); }
.btn-float { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-float:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.btn-sign { background: var(--sign); color: #111; }
.btn-quiet { color: var(--ink-2); padding: 0 12px; }
.btn-quiet:hover { color: var(--ink); background: var(--bg-2); }
.btn-danger { color: var(--bad); background: transparent; box-shadow: 0 0 0 1px color-mix(in srgb, var(--bad) 35%, transparent); }
.btn-danger:hover:not(:disabled) { background: color-mix(in srgb, var(--bad) 8%, transparent); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 11px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; color: var(--ink-2); flex-shrink: 0; }
.icon-btn:hover { background: var(--bg-2); color: var(--ink); }
.icon-btn svg, .btn svg { width: 20px; height: 20px; }
.input { width: 100%; height: 48px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--bg-2); font-size: 15px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, background .2s; }
.input:hover { background: var(--bg-3); }
.input:focus { outline: none; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }

.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--bg-2); gap: 2px; }
.seg button { height: 36px; padding: 0 16px; border-radius: 11px; font-size: 14px; font-weight: 700; color: var(--ink-3); transition: background .2s, color .2s, box-shadow .2s; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 41, .1); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--bg-2); font-size: 13.5px; font-weight: 700; color: var(--ink-2); transition: background .2s, color .2s; }
.chip:hover { background: var(--bg-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chip b { font-weight: 700; margin-left: 4px; opacity: .6; }

/* ───────── 카드·목록 ───────── */
.card { background: var(--card); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); box-shadow: 0 0 0 1px var(--line); }
.panel { background: var(--bg-2); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); }
.card-title { font-size: 15.5px; font-weight: 750; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; letter-spacing: -0.02em; }
.card-title .more { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.card-title .more:hover { color: var(--ink); }
.stack { display: grid; gap: 16px; }
.row { display: flex; align-items: center; gap: 12px; }
.spacer { flex: 1; }
.divider { height: 1px; background: var(--line); margin: 20px 0; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 750; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }
.badge.warn { background: color-mix(in srgb, var(--sign) 45%, transparent); color: var(--sign-ink); }
.badge.bad { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.badge.ink { background: var(--ink); color: var(--bg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.warn { color: var(--sign); } }

.page { padding: clamp(24px, 5vw, 56px) 0 112px; }
.page-head { margin-bottom: clamp(24px, 4vw, 40px); }
.page-title { font-size: clamp(30px, 4.2vw, 44px); font-weight: 750; letter-spacing: -0.04em; line-height: 1.2; }
.page-sub { margin-top: 10px; color: var(--ink-2); font-size: 16.5px; }

/* ───────── 약관·개인정보처리방침(/terms, /privacy) ─────────
   긴 법률 글을 편하게: 글줄은 700px까지, 조 번호는 흐리게·제목은 진하게, 표는 폰에서 옆으로 밀어 본다.
   목차는 좁은 화면에선 제목 아래 접힌 상자, 넓은 화면에선 왼쪽에 따라 내려오는 목록(열기는 페이지의 한 줄 스크립트) */
.legal { max-width: calc(700px + 2 * var(--gut)); } /* 한 단일 때도 글줄 700px */
.legal-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(30px, 4.4vw, 42px); font-weight: 750; line-height: 1.25; letter-spacing: -0.04em; }
.legal-date { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.legal-body { padding-top: 32px; }
.legal-body > * + * { margin-top: 14px; }
.legal-body > * + h2 { margin-top: 52px; }
.legal-body > h2 + * { margin-top: 12px; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.legal-body h2 { scroll-margin-top: calc(var(--nav-h) + 20px); font-size: 19px; font-weight: 700; line-height: 1.45; letter-spacing: -0.03em; }
.legal-no { margin-right: 2px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.legal-body ol { padding-left: 1.5em; display: grid; gap: 8px; }
.legal-body li { padding-left: 4px; }
.legal-body ul { padding-left: 1.3em; list-style: disc; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.legal-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.legal-table { overflow-x: auto; }
.legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.65; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.legal-table th { font-size: 13.5px; font-weight: 650; color: var(--ink); background: var(--bg-2); border-bottom: 0; }
.legal-table th:first-child { border-radius: 10px 0 0 10px; }
.legal-table th:last-child { border-radius: 0 10px 10px 0; }
.legal-body > .biz { margin-top: 56px; padding: 18px 20px; border-radius: 16px; background: var(--bg-2); font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.legal-toc { margin-top: 20px; border-radius: var(--r); background: var(--bg-2); }
.legal-toc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-size: 15px; font-weight: 700; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.legal-toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.legal-toc ol { list-style: none; padding: 0 18px 12px; }
.legal-toc a { display: block; padding: 7px 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.legal-toc a:hover { color: var(--ink); }
@media (min-width: 1024px) {
  .legal { max-width: var(--maxw); display: grid; grid-template-columns: 200px minmax(0, 700px); grid-template-areas: ". head" "toc body"; column-gap: 56px; justify-content: center; }
  .legal-head { grid-area: head; }
  .legal-body { grid-area: body; }
  .legal-toc { grid-area: toc; align-self: start; position: sticky; top: calc(var(--nav-h) + 28px); margin-top: 38px; background: none; border-radius: 0; }
  .legal-toc summary { pointer-events: none; padding: 0 0 10px; font-size: 13px; font-weight: 650; color: var(--ink-3); }
  .legal-toc summary::after { display: none; }
  .legal-toc ol { padding: 0; border-left: 1px solid var(--line-2); }
  .legal-toc a { margin-left: -1px; padding: 5px 0 5px 14px; border-left: 1px solid transparent; font-size: 14px; color: var(--ink-3); }
  .legal-toc a:hover { color: var(--ink); border-left-color: var(--ink); }
}

.meter { display: grid; gap: 7px; }
.meter-top { display: flex; justify-content: space-between; font-size: 14px; }
.meter-top b { font-weight: 650; }
.meter-bar { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.meter-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); width: var(--p, 0%); transition: width .8s var(--ease); }
.meter.full .meter-bar i { background: var(--bad); }

.empty { text-align: center; padding: 48px 20px; color: var(--ink-3); }
.empty h3 { color: var(--ink); font-size: 18px; margin-bottom: 8px; letter-spacing: -0.02em; }
.empty .btn { margin-top: 18px; }
.skeleton { background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: 12px; min-height: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 모달·알림 */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(8, 11, 20, .42); backdrop-filter: blur(2px); display: grid; place-items: center; padding: 16px; animation: fade .2s both; }
.modal { width: min(440px, 100%); background: var(--card); border-radius: 14px; padding: 26px; box-shadow: var(--shadow-lg); animation: pop .35s var(--ease) both; }
.modal h2 { font-size: 19px; letter-spacing: -0.03em; margin-bottom: 8px; }
.modal p { color: var(--ink-2); font-size: 15px; }
.modal .actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 650; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .4s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--bad); color: #fff; }
/* 새 버전 알림(core.js watchDeploy) — 왼쪽 아래 작은 흰 카드(오른쪽 아래는 떠 있는 로고 버튼 자리). 닫기 전까지 남는다 */
.update-toast { position: fixed; left: 20px; bottom: 20px; z-index: 119; display: grid; grid-template-columns: auto 1fr; gap: 12px 12px; align-items: center; width: min(320px, calc(100vw - 32px)); padding: 16px; border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); animation: pop .35s var(--ease) both; }
.update-mark { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--frame); object-fit: contain; }
.update-tx { display: grid; gap: 2px; }
.update-tx b { font-size: 15px; letter-spacing: -0.02em; }
.update-tx small { font-size: 13px; color: var(--ink-3); }
.update-act { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; }
.update-act .btn { flex: 1; }
.update-later { padding: 0 14px; height: 36px; border-radius: 10px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.update-later:hover { background: var(--bg-2); color: var(--ink); }

/* 자주 묻는 질문 */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); padding: 0 4px; }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 16.5px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; letter-spacing: -0.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-list details p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.faq-list details a { text-decoration: underline; text-underline-offset: 3px; }

/* ───────── 푸터 (짙은 띠 — 페이지의 끝을 분명히) ───────── */
.foot { --f-ink: #fff; --f-2: rgba(255, 255, 255, .66); --f-3: rgba(255, 255, 255, .46); --f-line: rgba(255, 255, 255, .12); background: #0f1729; color: var(--f-ink); padding: clamp(64px, 8vw, 104px) 0 40px; margin-top: 0; }
.foot .wrap { display: grid; gap: 56px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.foot-top .logo { margin-bottom: 20px; color: var(--f-ink); }
.foot-top h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 750; line-height: 1.3; letter-spacing: -0.04em; }
.foot-cta { background: #fff; color: #0f1729; }
.foot-cta:hover { opacity: .9; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-cols h3 { font-size: 13px; font-weight: 600; color: var(--f-3); margin-bottom: 12px; }
.foot-cols a { display: block; width: max-content; max-width: 100%; font-size: 14.5px; color: var(--f-2); padding: 5px 0; transition: color .2s; } /* 글자만큼만 — 초점 테두리가 칸 폭 전체로 그려지지 않게 */
.foot-cols a:hover { color: var(--f-ink); }
.foot-biz { border-top: 1px solid var(--f-line); padding-top: 24px; font-size: 12.5px; color: var(--f-3); line-height: 1.8; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 등장 효과(화면에 들어오면 한 번) */
/* 첫 화면(히어로)에는 쓰지 않는다 — 글이 늦게 떠서 로딩이 긴 것처럼 느껴졌다 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .65s var(--ease); transition-delay: calc(var(--lag, 0) * 60ms); }
.reveal.in { opacity: 1; transform: none; }
/* 휴대폰에선 빨리 넘기면 빈칸이 먼저 보였다가 나타나 끊겨 보였다 — 터치 기기는 처음부터 보인다 */
@media (hover: none) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* 팝업 공지(core.js showNotices) */
.notice:focus { outline: none; }
/* 흔히 보는 사이트 팝업 모양: 사진 → 제목·내용 → 아래 띠(오늘 하루 보지 않기 | 닫기) */
.notice { position: relative; width: min(400px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px -18px rgba(15, 23, 41, .45); animation: pop .3s var(--ease) both; }
.notice-scroll { overflow: auto; }
.notice-img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; }
.notice-body { padding: 22px 22px 20px; }
.notice h2 { font-size: 19px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.4; }
.notice p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); white-space: pre-line; }
.notice-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 14.5px; font-weight: 700; color: var(--easy); }
.notice-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.notice-bar { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); flex: none; }
.notice-bar button { height: 48px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--bg-2); }
.notice-bar button + button { border-left: 1px solid var(--line); color: var(--ink); }
.notice-bar button:hover { background: var(--bg-3); }

/* ───────── 오류 화면 부품(lib/core.js errorScreen · errorModal · banner · toast 버튼) ───────── */
.err-page { min-height: calc(100dvh - var(--nav-h)); display: grid; place-items: center; padding: 24px var(--gut) 80px; }
.err-screen { max-width: 460px; margin: 0 auto; padding: 40px 0; display: grid; justify-items: center; gap: 12px; text-align: center; }
.err-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--bad) 12%, var(--card)); color: var(--bad); margin-bottom: 6px; }
.err-ic svg { width: 30px; height: 30px; }
.err-screen.offline .err-ic, .err-ic.offline { background: var(--bg-2); color: var(--ink-2); }
.err-screen.maint .err-ic, .err-ic.maint { background: color-mix(in srgb, var(--sign) 40%, var(--card)); color: var(--sign-ink); }
.err-screen.lock .err-ic, .err-ic.lock, .err-ic.card { background: var(--bg-2); color: var(--ink); }
.err-screen h1 { font-size: clamp(22px, 3vw, 28px); font-weight: 780; letter-spacing: -0.04em; line-height: 1.3; }
.err-screen > p { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.err-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.err-code { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.err-mail { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 12px 16px; border-radius: 14px; background: var(--bg-2); }
.err-modal { display: grid; gap: 8px; }
.err-modal .err-ic.sm { width: 44px; height: 44px; margin: 0 0 4px; }
.err-modal .err-ic.sm svg { width: 22px; height: 22px; }
.err-modal h2 { font-size: 19px; letter-spacing: -0.03em; }
.err-modal > p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.err-detail { font-size: 13px; color: var(--ink-3); }
.err-detail summary { cursor: pointer; width: max-content; }
.err-detail p { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); word-break: break-all; }

.banner-stack { position: sticky; top: 0; z-index: 60; display: grid; }
.banner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px var(--gut); font-size: 14px; font-weight: 650; text-align: center; animation: fade .25s both; }
.banner.warn { background: #fff6d6; color: #5c4800; }
.banner.bad { background: #fdecec; color: #a4282c; }
.banner.good { background: #e7f6ec; color: #13733a; }
.banner-btn { font: inherit; font-size: 13.5px; font-weight: 750; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .08); color: inherit; }
.banner-btn:hover { background: rgba(0, 0, 0, .14); }
.banner-x { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: inherit; opacity: .7; }
.banner-x svg { width: 16px; height: 16px; }
.toast.has-action { display: flex; align-items: center; gap: 12px; }
.toast.show.has-action { pointer-events: auto; }
.toast.bad .toast-btn { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.toast-btn { font: inherit; font-size: 13.5px; font-weight: 750; color: var(--sign); padding: 2px 4px; }

/* 자바스크립트가 꺼졌거나 너무 오래된 브라우저 */
.noscript { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; padding: 24px; background: #fff; color: #0f1729; text-align: center; font-family: -apple-system, "Malgun Gothic", sans-serif; }
.noscript b { display: block; font-size: 22px; margin-bottom: 8px; }
.noscript p { color: #4b5263; line-height: 1.6; }

/* 처음 쓰는 사람 안내 — 테두리째 밝히고, 카드의 화살표가 지금 설명하는 것을 가리킨다 */
.tour { position: fixed; inset: 0; z-index: 400; }
.tour-hole { position: fixed; box-shadow: 0 0 0 9999px rgba(15, 23, 41, .55); pointer-events: none; }
.tour-mark { position: relative; z-index: 1; box-shadow: 0 0 0 2px var(--sign) !important; }
.tour-bubble { position: fixed; padding: 18px 18px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow-lg); display: grid; gap: 6px; transition: left .25s var(--ease); animation: pop .25s var(--ease) both; }
.tour-bubble::before { content: ""; position: absolute; top: -6px; left: calc(var(--arrow-x, 50%) - 7px); width: 14px; height: 14px; background: var(--card); border-radius: 3px; transform: rotate(45deg); transition: left .25s var(--ease); }
.tour-bubble.up::before { top: auto; bottom: -6px; }
.tour-bubble:focus { outline: none; }
.tour-bubble b { font-size: 16px; letter-spacing: -0.025em; }
.tour-bubble p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.tour-dots { display: flex; gap: 5px; margin-bottom: 4px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width .2s; }
.tour-dots i.on { width: 16px; background: var(--ink); }
.tour-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.tour-actions .btn { margin-left: auto; }
.tour-skip { font-size: 13.5px; font-weight: 600; color: var(--ink-3); padding: 6px 2px; }
.tour-skip:hover { color: var(--ink); }

/* 손가락으로 누르는 화면: 누를 곳은 44px 이상 */
@media (pointer: coarse) {
  .btn-sm, .chip, .learn-btn, .text-btn, .back, .term .icon-btn, .me-btn { min-height: 44px; min-width: 44px; }
}
@media (hover: none) { .term .icon-btn { opacity: 1; } }
.badge { font-size: 13px; }

/* ───────── 설치 안내(lib/core.js installGuide) — 홈 · 서비스 소개 ───────── */
/* 설치 안내: 왼쪽 제목, 오른쪽 번호 목록(가는 선으로 나눔) — 줄 끝에 실제 단추·스위치를 작게 그려 둔다 */
.ig-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.ig-wrap .sec-head { margin: 0; }
.ig-wrap .sec-head p { margin-top: 14px; font-size: clamp(16px, 1.3vw, 17.5px); line-height: 1.7; color: var(--ink-2); }
.ig { display: grid; gap: 32px; }
.ig-steps { list-style: none; border-top: 1px solid var(--line-2); }
.ig-step { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.ig-no { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: #b0b8c1; font-variant-numeric: tabular-nums; }
.ig-tx { display: grid; gap: 6px; }
.ig-tx b { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.ig-tx p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.ig-pic { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.ig-add { height: 36px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; background: #1a73e8; color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
/* 크롬 도구 막대 한 토막: 퍼즐(확장) 버튼 옆에 고정된 우리 아이콘 */
.ig-tool { height: 44px; padding: 0 6px; gap: 4px; border-radius: 12px; background: #f1f3f4; }
.ig-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #474747; }
.ig-ic svg { width: 20px; height: 20px; }
.ig-ic img { width: 18px; height: auto; }
.ig-ic.hl { background: #fff; box-shadow: 0 0 0 2px var(--sign); }
.ig-yt { height: 38px; padding: 0 6px 0 14px; border-radius: 999px; background: #16171a; gap: 10px; }
.ig-play { width: 0; height: 0; border-left: 9px solid #fff; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
.ig-line { width: 56px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #ff3b30 50%, rgba(255, 255, 255, .3) 50%); }
.ig-sw { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #1a73e8; box-shadow: 0 0 0 2px var(--sign); }
.ig-sw i { position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.ig-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-left: 68px; } /* 단계 제목과 같은 선에서 시작 */
.ig-note { font-size: 14px; line-height: 1.6; color: var(--ink-3); white-space: pre-line; }
.ig-done { font-size: 15.5px; font-weight: 650; color: var(--good); }
@media (max-width: 860px) { .ig-wrap { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) {
  .ig-step { grid-template-columns: 36px minmax(0, 1fr); padding: 22px 0; }
  .ig-no { font-size: 22px; align-self: start; }
  .ig-pic { grid-column: 2; justify-self: start; justify-content: flex-start; margin-top: 8px; }
  .ig-cta { padding-left: 0; }
  .ig-cta .btn { width: 100%; }
}
.hero-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* ───────── 자막 한 장면(lib/demo.js captionFrame) — 크기는 틀 너비(cqw)를 따라 함께 줄고 는다 ───────── */
.cf { --i: 0; --fill: 22%; position: relative; aspect-ratio: 16 / 9; border-radius: clamp(14px, 2cqw, 22px); overflow: hidden; container-type: inline-size; background: radial-gradient(90% 80% at 50% 38%, #2a2b30 0%, #16171a 60%, #0c0c0e 100%); color: #fff; box-shadow: 0 50px 90px -50px rgba(15, 23, 41, .5); }
.cf[data-step="1"], .cf[data-step="3"] { --i: 1; --fill: 46%; }
.cf[data-step="2"] { --i: 2; --fill: 64%; }
.cf[data-step="3"] { --fill: 78%; }
.cf-live { position: absolute; left: 4cqw; top: 3.6cqw; display: inline-flex; align-items: center; gap: 8px; font-size: max(11px, 1.6cqw); font-weight: 700; }
.cf-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; }
.cf-sub { position: absolute; left: 0; right: 0; bottom: 11cqw; display: grid; justify-items: center; gap: 1.8cqw; padding: 0 4cqw; }
.cf-seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 999px; background: rgba(12, 14, 20, .72); font-size: max(10px, 1.5cqw); font-weight: 700; }
.cf-seg span { position: relative; z-index: 1; padding: .55cqw 2cqw; text-align: center; white-space: nowrap; color: rgba(255, 255, 255, .62); transition: color .4s; }
.cf-seg i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 999px; background: #fff; transform: translateX(calc(var(--i) * 100%)); transition: transform .6s var(--ease), background .4s; }
.cf[data-step="1"] .cf-seg i, .cf[data-step="3"] .cf-seg i { background: #1366e4; }
.cf[data-step="2"] .cf-seg i { background: #ffd60a; }
.cf[data-step="0"] .cf-seg span:nth-of-type(1), .cf[data-step="2"] .cf-seg span:nth-of-type(3) { color: #14171f; }
.cf[data-step="1"] .cf-seg span:nth-of-type(2), .cf[data-step="3"] .cf-seg span:nth-of-type(2) { color: #fff; }
.cf-caps { display: grid; max-width: 100%; }
.cf-caps p { grid-area: 1 / 1; justify-self: center; padding: .5cqw 1.8cqw .7cqw; border-radius: 6px; background: rgba(8, 9, 12, .8); font-size: max(13px, 2.9cqw); font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.cf[data-step="0"] .cf-caps p:nth-child(1), .cf[data-step="1"] .cf-caps p:nth-child(2), .cf[data-step="2"] .cf-caps p:nth-child(3), .cf[data-step="3"] .cf-caps p:nth-child(4) { opacity: 1; transform: none; }
.cf-caps u { text-decoration: none; padding: 0 .3em; border-radius: 4px; background: #ffd60a; color: #14171f; }
.cf-word { position: absolute; left: 50%; top: 8cqw; display: grid; grid-template-columns: 21cqw auto; gap: 2cqw; align-items: center; padding: 1.1cqw 3.4cqw 1.1cqw 1.1cqw; border-radius: 1.6cqw; background: #fff; color: #0f1729; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); opacity: 0; transform: translate(-50%, 12px) scale(.96); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.cf[data-step="3"] .cf-word { opacity: 1; transform: translate(-50%, 0); }
.cf-word .yw-stage { width: 21cqw; border-radius: 1cqw; font-size: 10px; }
.cf-word b { display: block; font-size: max(14px, 2.6cqw); letter-spacing: -0.03em; }
.cf-word small { display: block; font-size: max(11px, 1.5cqw); color: #4a5263; white-space: nowrap; }
.cf-bar { position: absolute; left: 4cqw; right: 4cqw; bottom: 3.6cqw; display: flex; align-items: center; gap: 2.2cqw; }
.cf-play { width: 0; height: 0; border-left: max(8px, 1.3cqw) solid #fff; border-top: max(5px, .8cqw) solid transparent; border-bottom: max(5px, .8cqw) solid transparent; }
.cf-track { flex: 1; height: max(3px, .45cqw); border-radius: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.cf-track i { display: block; height: 100%; width: var(--fill); background: #ff3b30; transition: width .8s var(--ease); }
.cf-sw { position: relative; width: max(26px, 4cqw); height: max(15px, 2.3cqw); border-radius: 999px; background: #1366e4; }
.cf-sw i { position: absolute; right: 2px; top: 2px; bottom: 2px; aspect-ratio: 1; border-radius: 50%; background: #fff; }
@media (prefers-reduced-motion: reduce) { .cf * { transition: none !important; } }
/* 휴대폰: 16:9는 글이 너무 작아진다 — 정사각형 틀에 글을 키운다 */
@media (max-width: 640px) {
  .cf { aspect-ratio: 1 / 1; }
  .cf-live { font-size: 12px; }
  .cf-sub { bottom: 15cqw; gap: 10px; }
  .cf-seg { font-size: 12px; }
  .cf-seg span { padding: 5px 12px; }
  .cf-caps p { font-size: 17px; padding: 4px 10px 6px; }
  .cf-word { top: 15cqw; grid-template-columns: 36cqw auto; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 14px; }
  .cf-word .yw-stage { width: 36cqw; border-radius: 8px; }
  .cf-word b { font-size: 18px; }
  .cf-word small { font-size: 12px; }
}

/* ───────── 사이트 무드 "선명한 자막" — 홈 · 서비스 소개가 같이 쓰는 조각 ─────────
   실제 제품 화면(assets/shots, 웹 스토어 스크린샷)을 중심에 두고, 실제 확장처럼 모드 표시가 붙은 자막 상자(.capt)를 표식으로 쓴다.
   색의 뜻: 파랑 = 쉬운말, 노랑 = 수어. 회색 면(.bento)과 짙은 띠(.band)로 리듬을 만든다. */
.bframe { border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line-2), 0 50px 100px -50px rgba(15, 23, 41, .45); }
.bframe-bar { height: 42px; display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; padding: 0 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.bframe-dots { display: flex; gap: 7px; }
.bframe-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.bframe-url { justify-self: center; width: min(100%, 420px); height: 26px; border-radius: 8px; background: var(--card); font-size: 12.5px; color: var(--ink-3); display: grid; place-items: center; overflow: hidden; white-space: nowrap; }
.bframe-view { position: relative; overflow: hidden; aspect-ratio: 1280 / 800; background: #fff; }
.bframe-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .bframe { border-radius: 12px; } .bframe-bar { height: 30px; grid-template-columns: 40px 1fr 40px; padding: 0 10px; } .bframe-dots i { width: 7px; height: 7px; } .bframe-url { height: 20px; font-size: 11px; } }

/* 제품 화면의 한 부분만 크게: --x, --y = 보여 줄 곳(그림 안의 %), --w = 칸 대비 그림 너비 */
.crop { position: relative; overflow: hidden; background: #fff; }
.crop img { position: absolute; left: 50%; top: 50%; width: var(--w, 250%); max-width: none; transform: translate(calc(var(--x, 50%) * -1), calc(var(--y, 50%) * -1)); }

/* 자막 상자 + 모드 표시(실제 확장 모양 그대로) */
.capt { position: relative; display: inline-block; margin-top: 12px; padding: 6px 14px 8px; border-radius: 8px; background: rgba(8, 9, 12, .88); color: #fff; font-weight: 700; letter-spacing: -0.02em; line-height: 1.45; }
.capt-tag { position: absolute; left: 0; bottom: calc(100% - 6px); font-style: normal; font-size: 11.5px; font-weight: 800; line-height: 1; padding: 4px 7px; border-radius: 6px; white-space: nowrap; }
.capt-tag.easy { background: #1366e4; color: #fff; }
.capt-tag.sign { background: #ffd60a; color: #14171f; }
.capt-tag.orig { background: #fff; color: #14171f; }

/* 회색 면 카드 격자 */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bento-card { display: grid; grid-template-rows: auto auto 1fr; border-radius: 24px; background: var(--bg-2); padding: clamp(28px, 3.2vw, 40px) clamp(28px, 3.2vw, 40px) 0; overflow: hidden; }
.bento-card h3 { display: flex; align-items: center; gap: 8px; font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.035em; }
.bento-card p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.bento-vis { align-self: end; height: clamp(200px, 22vw, 260px); margin-top: 28px; border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px rgba(15, 23, 41, .35); }
.bento-card .tag { height: 20px; padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; background: var(--ink); color: var(--bg); letter-spacing: 0; }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } }

/* 짙은 띠: 이유를 말하는 한 구역 */
.band { background: #0f1729; color: #fff; }
.band .muted-w { color: rgba(255, 255, 255, .62); }
