/* Zeron Browser 사이트
   다운로드 페이지(zeron-school .zb)의 실측값을 기반으로 하고, 다크 세트와 하단 섹션을 더함. */

:root {
  color-scheme: light dark;
  --fg: #1e2124;
  --fg-muted: #4b5563;
  --fg-placeholder: #5f6a75;      /* 실측 #6d7882 → 13px 텍스트 대비 4.5:1 확보용 */
  --brand: #256ef4;
  --brand-hover: #0b50d0;
  --btn-bg: #256ef4;
  --btn-bg-hover: #0b50d0;
  --btn-shadow: rgba(37,110,244,.35);
  --btn-shadow-hover: rgba(37,110,244,.4);
  --page-bg: #dbe7fb;
  --glow-1: rgba(37,110,244,.45);
  --glow-2: rgba(160,200,255,.6);
  --glow-3: rgba(255,255,255,.7);
  --grad-a: #e8f0fd;
  --grad-b: #c9dbf8;
  --glass: rgba(255,255,255,.45);
  --glass-edge: rgba(255,255,255,.6);
  --glass-top: rgba(255,255,255,.9);
  --glass-shadow: rgba(20,60,140,.18);
  --tile: rgba(255,255,255,.65);
  --tile-shadow: rgba(20,60,140,.14);
  --chip: rgba(255,255,255,.7);
  --code: rgba(255,255,255,.5);
  --divider: rgba(30,33,36,.08);
  --wire: rgba(30,33,36,.1);
  --wire-strong: rgba(30,33,36,.18);
  --ring: rgba(37,110,244,.35);
  --logo-glow: rgba(37,110,244,.45);
  --mark-yes: #256ef4;
  --mark-part: #a86a00;
  --mark-no: #c23b3b;
  --tint-cyan: rgba(40,170,220,.16);
  --tint-violet: rgba(130,100,255,.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fg: #eef0f4;
    --fg-muted: #b4bcc8;
    --fg-placeholder: #98a2b3;
    --brand: #4d8dff;
    --brand-hover: #6ea1ff;
    --btn-bg: #256ef4;             /* 흰 글자 대비 때문에 두 테마 모두 같은 값 */
    --btn-bg-hover: #3b80ff;
    --btn-shadow: rgba(37,110,244,.45);
    --btn-shadow-hover: rgba(37,110,244,.5);
    --page-bg: #0b0f17;
    --glow-1: rgba(37,110,244,.3);
    --glow-2: rgba(70,120,210,.22);
    --glow-3: rgba(255,255,255,.05);
    --grad-a: #0d1320;
    --grad-b: #080b12;
    --glass: rgba(255,255,255,.06);
    --glass-edge: rgba(255,255,255,.12);
    --glass-top: rgba(255,255,255,.18);
    --glass-shadow: rgba(0,0,0,.55);
    --tile: rgba(255,255,255,.07);
    --tile-shadow: rgba(0,0,0,.45);
    --chip: rgba(255,255,255,.08);
    --code: rgba(255,255,255,.06);
    --divider: rgba(255,255,255,.08);
    --wire: rgba(255,255,255,.1);
    --wire-strong: rgba(255,255,255,.18);
    --ring: rgba(77,141,255,.4);
    --logo-glow: rgba(77,141,255,.5);
    --mark-yes: #4d8dff;
    --mark-part: #e3b04b;
    --mark-no: #ff7b7b;
    --tint-cyan: rgba(40,170,220,.10);
    --tint-violet: rgba(130,100,255,.10);
  }
}

:root[data-theme="dark"] {
  --fg: #eef0f4;
  --fg-muted: #b4bcc8;
  --fg-placeholder: #98a2b3;
  --brand: #4d8dff;
  --brand-hover: #6ea1ff;
  --btn-bg: #256ef4;             /* 흰 글자 대비 때문에 두 테마 모두 같은 값 */
  --btn-bg-hover: #3b80ff;
  --btn-shadow: rgba(37,110,244,.45);
  --btn-shadow-hover: rgba(37,110,244,.5);
  --page-bg: #0b0f17;
  --glow-1: rgba(37,110,244,.3);
  --glow-2: rgba(70,120,210,.22);
  --glow-3: rgba(255,255,255,.05);
  --grad-a: #0d1320;
  --grad-b: #080b12;
  --glass: rgba(255,255,255,.06);
  --glass-edge: rgba(255,255,255,.12);
  --glass-top: rgba(255,255,255,.18);
  --glass-shadow: rgba(0,0,0,.55);
  --tile: rgba(255,255,255,.07);
  --tile-shadow: rgba(0,0,0,.45);
  --chip: rgba(255,255,255,.08);
  --code: rgba(255,255,255,.06);
  --divider: rgba(255,255,255,.08);
  --wire: rgba(255,255,255,.1);
  --wire-strong: rgba(255,255,255,.18);
  --ring: rgba(77,141,255,.4);
  --logo-glow: rgba(77,141,255,.5);
  --mark-yes: #4d8dff;
  --mark-part: #e3b04b;
  --mark-no: #ff7b7b;
  --tint-cyan: rgba(40,170,220,.10);
  --tint-violet: rgba(130,100,255,.10);
}

/* 기본 */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  background: var(--page-bg);
  background-image:
    radial-gradient(900px 600px at 18% 20%, var(--glow-1), transparent 65%),
    radial-gradient(800px 700px at 85% 80%, var(--glow-2), transparent 65%),
    radial-gradient(600px 500px at 60% 10%, var(--glow-3), transparent 60%),
    linear-gradient(180deg, var(--grad-a) 0, var(--grad-b) 100%);
  background-size: 160% 160%, 160% 160%, 160% 160%, 100% 100%;
  background-attachment: fixed;
  animation: glow-drift 28s ease-in-out infinite alternate;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
a:focus-visible, summary:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--ring); border-radius: 8px; }
.brand-mark:focus-visible { border-radius: 9999px; }
h1, h2, h3, p, ul, figure { margin: 0; }

/* 유리 카드 두 종류 */
.window {
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  width: 100%; max-width: 760px;
  padding: 64px 48px 56px;
  border-radius: 40px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  backdrop-filter: blur(40px) saturate(160%);
  box-shadow: 0 30px 80px var(--glass-shadow), inset 0 1px 0 var(--glass-top), inset 0 0 0 1px var(--glass-edge);
}
.tile {
  background: var(--tile);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 var(--glass-top), inset 0 0 0 1px var(--glass-edge), 0 10px 28px var(--tile-shadow);
}

/* 좌측 상단 브랜드 */
.topbar { position: absolute; top: 20px; left: 24px; right: 24px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lang-switch {
  padding: 8px 16px; border-radius: 9999px; font-size: 14px; font-weight: 700; color: var(--fg);
  background: var(--tile);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-top), inset 0 0 0 1px var(--glass-edge), 0 8px 24px var(--tile-shadow);
}
.lang-switch:hover { color: var(--brand); }
.lang-switch:focus-visible { border-radius: 9999px; }

/* 밝게 / 어둡게 / 시스템 설정 따르기 */
.topbar-right { display: flex; align-items: center; gap: 10px; }
.theme-switch {
  display: flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: 9999px;
  background: var(--tile);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-top), inset 0 0 0 1px var(--glass-edge), 0 8px 24px var(--tile-shadow);
}
.theme-switch button {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9999px;
  background: none; color: var(--fg-placeholder); cursor: pointer;
  transition: color .2s cubic-bezier(.2,0,0,1), background .2s cubic-bezier(.2,0,0,1);
}
.theme-switch button svg { width: 17px; height: 17px; }
.theme-switch button:hover { color: var(--fg); }
.theme-switch button[aria-pressed="true"] { color: var(--brand); background: var(--chip); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.theme-switch button:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--ring); }
.brand-mark {
  display: inline-flex; align-items: center;
  padding: 8px 18px 8px 10px; border-radius: 9999px;
  background: var(--tile);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--glass-top), inset 0 0 0 1px var(--glass-edge), 0 8px 24px var(--tile-shadow);
}
.brand-mark img { display: block; height: 36px; width: auto; }
/* 로고 두 장. 어느 쪽을 보일지는 테마가 정한다 (사용자가 고른 값 > 운영체제 설정) */
.brand-mark .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-mark .on-light { display: none; }
  :root:not([data-theme="light"]) .brand-mark .on-dark { display: block; }
}
:root[data-theme="dark"] .brand-mark .on-light { display: none; }
:root[data-theme="dark"] .brand-mark .on-dark { display: block; }
:root[data-theme="light"] .brand-mark .on-light { display: block; }
:root[data-theme="light"] .brand-mark .on-dark { display: none; }

/* 히어로 */
.hero { display: flex; flex-direction: column; align-items: center; gap: 56px; padding: 120px 20px 24px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 20px; animation: rise .64s cubic-bezier(.2,0,0,1) both; }
.logo { display: block; width: 112px; height: 112px; filter: drop-shadow(0 12px 28px var(--logo-glow)); }
.logo img { display: block; width: 100%; height: 100%; }
.title { font-size: 34px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero .cta { animation: rise .64s cubic-bezier(.2,0,0,1) both; animation-delay: .22s; }
.download-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px; padding: 0 36px; border-radius: 9999px;
  background: var(--btn-bg); color: #fff;
  font-size: 18px; font-weight: 700; line-height: 1; white-space: nowrap;
  box-shadow: 0 10px 28px var(--btn-shadow), inset 0 1px 0 rgba(255,255,255,.35);
  transition: background .2s cubic-bezier(.2,0,0,1), transform .24s cubic-bezier(.2,0,0,1), box-shadow .24s cubic-bezier(.2,0,0,1);
}
.download-btn:hover { color: #fff; background: var(--btn-bg-hover); transform: translateY(-3px); box-shadow: 0 16px 36px var(--btn-shadow-hover), inset 0 1px 0 rgba(255,255,255,.35); }
.download-btn:active { transform: translateY(0) scale(.98); }
.download-btn:focus-visible { outline: 0; border-radius: 9999px; box-shadow: 0 0 0 4px var(--ring), 0 10px 28px var(--btn-shadow); }
.download-btn svg { width: 22px; height: 22px; }
.note { font-size: 13px; line-height: 1.5; color: var(--fg-placeholder); text-align: center; }

/* 섹션 공통 */
.section { padding: 96px 20px; }
.container { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.container.narrow { max-width: 760px; }
.section h2 { font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; text-align: center; }

/* 무엇이 다른가 */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 32px; }
.card-icon {
  width: 56px; height: 56px; border-radius: 9999px; color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  background: var(--chip); box-shadow: inset 0 0 0 1px var(--glass-edge);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.card p { font-size: 16px; line-height: 1.6; color: var(--fg-muted); }
.diagram { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram .frame { fill: none; stroke: var(--wire-strong); stroke-width: 2; }
.diagram .line { fill: var(--wire-strong); }
.diagram .slot { fill: none; stroke: var(--fg-placeholder); stroke-width: 2; stroke-dasharray: 4 4; }
.diagram .arrow { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.diagram-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--fg-placeholder); }
.diagram-labels span { width: 43%; text-align: center; }
.diagram-labels.one { justify-content: center; }
.diagram-labels.one span { width: auto; }
.diagram .ink { stroke: var(--brand); stroke-width: 9; stroke-linecap: round; opacity: .3; }
.diagram .seam { fill: none; stroke: var(--fg-placeholder); stroke-width: 2; stroke-dasharray: 3 4; }
.diagram .tint { fill: var(--brand); opacity: .22; }
.diagram .tab { fill: var(--brand); opacity: .55; }
/* 기능 카드의 한 줄 사실 — 카드 높이가 달라도 바닥에 붙는다 */
.card .fact {
  margin-top: auto; align-self: flex-start;
  padding: 7px 14px; border-radius: 9999px;
  background: var(--chip); box-shadow: inset 0 0 0 1px var(--glass-edge);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px; line-height: 1.5; color: var(--fg-placeholder);
}

/* 첫 화면 브라우저 창 — 실제 화면 사진이 오면 .browser-page 안을 <img> 로 바꾼다 */
.browser {
  width: 100%; max-width: 920px; margin: 0; overflow: hidden;
  border-radius: 24px; background: var(--glass);
  -webkit-backdrop-filter: blur(40px) saturate(160%); backdrop-filter: blur(40px) saturate(160%);
  box-shadow: 0 40px 100px var(--glass-shadow), inset 0 1px 0 var(--glass-top), inset 0 0 0 1px var(--glass-edge);
  animation: rise .64s cubic-bezier(.2,0,0,1) both; animation-delay: .4s;
}
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px 0; }
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--wire-strong); }
.browser-tab {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px 10px 0 0;
  background: var(--tile); font-size: 12px; color: var(--fg-muted);
}
.browser-tab img { display: block; border-radius: 3px; }
.browser-state { position: relative; margin-left: auto; height: 24px; font-size: 12px; font-weight: 700; }
.browser-state span { position: absolute; right: 0; top: 0; padding: 4px 10px; border-radius: 9999px; white-space: nowrap; }
.browser-state .off { color: var(--fg-placeholder); background: var(--chip); animation: state-off 7s infinite; }
.browser-state .on { color: #fff; background: var(--btn-bg); opacity: 0; animation: state-on 7s infinite; }
.browser-url {
  display: flex; align-items: center; gap: 8px; margin: 0 16px; padding: 9px 14px; border-radius: 0 10px 10px 10px;
  background: var(--tile); font-size: 12px; color: var(--fg-placeholder);
}
.browser-url svg { width: 13px; height: 13px; }
.browser-page { display: flex; flex-direction: column; height: 424px; overflow: hidden; padding: 28px 40px 36px; animation: page-reset 7s infinite; }
/* 높이를 고정해 둔다. 광고가 접히면 아래 줄이 올라와 채우고, 창 밖의 페이지는 움직이지 않는다 */
.bp-title { width: 58%; height: 18px; margin-bottom: 18px; border-radius: 9px; background: var(--wire-strong); }
.bp-line { height: 10px; margin: 6px 0; border-radius: 5px; background: var(--wire); }
.bp-ad {
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  height: 64px; margin: 10px 0; border: 2px dashed var(--wire-strong); border-radius: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--fg-placeholder);
  animation: ad-fold 7s infinite;
}
/* 광고가 보이다가 → 사라지고 → 자리가 접히고 → 잠시 뒤 처음으로 */
@keyframes ad-fold {
  0%, 34%   { height: 64px; margin: 10px 0; opacity: 1; border-width: 2px; }
  42%       { height: 64px; margin: 10px 0; opacity: 0; border-width: 2px; }
  52%, 93%  { height: 0; margin: 0; opacity: 0; border-width: 0; }
  96%, 100% { height: 64px; margin: 10px 0; opacity: 1; border-width: 2px; }
}
@keyframes page-reset { 0%, 90% { opacity: 1; } 93%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes state-off { 0%, 38% { opacity: 1; } 42%, 93% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes state-on  { 0%, 38% { opacity: 0; } 42%, 93% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* 신뢰 줄 — 언론 인용 대신, 확인할 수 있는 사실만 */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.trust li > a, .trust li > span {
  display: inline-block; padding: 8px 14px; border-radius: 9999px; line-height: 1.4;
  background: var(--chip); box-shadow: inset 0 0 0 1px var(--glass-edge);
  font-size: 13px; color: var(--fg-muted);
}
.trust li > a:hover { color: var(--brand); }

/* 기본 기능 비교표 */
.vs { padding: 8px 28px; }
.vs table { width: 100%; border-collapse: collapse; }
.vs th, .vs td { padding: 16px 10px; border-bottom: 1px solid var(--divider); vertical-align: top; word-break: keep-all; }
.vs tbody tr:last-child th, .vs tbody tr:last-child td { border-bottom: 0; }
.vs thead th { font-size: 15px; font-weight: 700; text-align: center; color: var(--fg-muted); }
.vs thead th.us { color: var(--brand); }
.vs tbody th { width: 34%; font-size: 15px; font-weight: 700; text-align: left; line-height: 1.4; }
.vs td { text-align: center; font-size: 12px; line-height: 1.4; color: var(--fg-placeholder); }
.vs td:nth-child(2) { background: var(--chip); }
.vs .mark { display: block; width: 22px; height: 22px; margin: 0 auto 4px; }
.vs td.yes .mark { color: var(--mark-yes); }
.vs td.part .mark { color: var(--mark-part); }
.vs td.no .mark { color: var(--mark-no); }
.vs small { display: block; font-size: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 섹션마다 다른 빛깔 — 같은 유리 카드가 끝없이 이어지는 느낌을 덜어 준다 */
#why, #vs, #features, #download { position: relative; isolation: isolate; }
#why::before, #vs::before, #features::before, #download::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
#vs::before { background: radial-gradient(700px 420px at 50% 40%, var(--tint-cyan), transparent 70%); }
#features::before { background: radial-gradient(800px 480px at 30% 50%, var(--tint-violet), transparent 70%); }
#download::before { background: radial-gradient(700px 520px at 50% 30%, var(--glow-1), transparent 72%); opacity: .5; }

/* 스크롤하면 부드럽게 나타나기 — 스크립트가 켜 둔 경우에만 숨겨 둔다 (꺼져 있으면 그냥 보인다) */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,0,0,1), transform .7s cubic-bezier(.2,0,0,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* 기능 카드의 실제 화면 — 밝은 화면에서 찍은 사진이라 어두운 테마에서도 테두리로 구분해 준다 */
.shot-card { margin: 4px 0 0; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px var(--glass-edge), 0 10px 24px var(--tile-shadow); }
.shot-card img { display: block; width: 100%; height: auto; }

/* 실제 화면 — 밝게/어둡게 사진 두 장 중 테마에 맞는 것만 보인다 (숨긴 쪽은 lazy 라 내려받지 않는다) */
.shot-window { width: 100%; max-width: 1000px; margin: 0 auto; overflow: hidden; border-radius: 18px; box-shadow: 0 0 0 1px var(--glass-edge), 0 40px 100px var(--glass-shadow); }
.shot-window img { display: block; width: 100%; height: auto; }
.shot-window .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-window .on-light { display: none; }
  :root:not([data-theme="light"]) .shot-window .on-dark { display: block; }
}
:root[data-theme="dark"] .shot-window .on-light { display: none; }
:root[data-theme="dark"] .shot-window .on-dark { display: block; }
:root[data-theme="light"] .shot-window .on-light { display: block; }
:root[data-theme="light"] .shot-window .on-dark { display: none; }

/* 알약 모양 표시 (버전 기록 날짜 등) */
.chip {
  align-self: flex-start; padding: 6px 14px; border-radius: 9999px;
  background: var(--chip); box-shadow: inset 0 0 0 1px var(--glass-edge);
  font-size: 13px; font-weight: 700;
}

/* 내려받기 */
.window-download { gap: 28px; scroll-margin-top: 24px; }
/* 위쪽 다운로드 버튼으로 내려왔을 때 어느 카드로 왔는지 보이게 한다 (카드 테두리는 inset 그림자다) */
.window-download:target {
  box-shadow: 0 30px 80px var(--glass-shadow), inset 0 1px 0 var(--glass-top), inset 0 0 0 2px var(--brand);
}
.platform-title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.platform-title small { font-size: 14px; font-weight: 500; color: var(--fg-placeholder); }
.steps { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--fg-muted); }
.steps code, .verify code { font-family: ui-monospace, Menlo, Consolas, monospace; }
.steps code { font-size: 14px; padding: 2px 6px; border-radius: 6px; background: var(--code); }
.steps strong { color: var(--fg); font-weight: 700; }
.direct { width: 100%; max-width: 520px; font-size: 13px; line-height: 1.6; color: var(--fg-placeholder); text-align: center; word-break: break-all; }
.direct a { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--brand); }
.direct a:hover { color: var(--brand-hover); text-decoration: underline; }
.verify { width: 100%; max-width: 520px; padding-top: 20px; border-top: 1px solid var(--divider); }
.verify summary { font-size: 14px; }
.verify code { display: block; margin-top: 8px; font-size: 12px; line-height: 1.6; word-break: break-all; color: var(--fg-placeholder); }
.signature p { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--fg-placeholder); }
.signature a { color: var(--brand); }
.signature a:hover { color: var(--brand-hover); text-decoration: underline; }

/* 펼침 목록 공통 */
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.chev { flex: none; width: 20px; height: 20px; color: var(--fg-placeholder); transition: transform .2s cubic-bezier(.2,0,0,1); }
details[open] > summary .chev { transform: rotate(180deg); }

/* 자주 묻는 질문 */
.faq { display: flex; flex-direction: column; padding: 4px 32px; }
.faq details { padding: 22px 0; border-top: 1px solid var(--divider); }
.faq details:first-child { border-top: 0; }
.faq summary { font-size: 17px; line-height: 1.4; }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--fg-muted); }

/* 문서 페이지 (개인정보처리방침 등) */
.doc { padding: 120px 20px 40px; }
.doc .tile { padding: 48px 56px; display: flex; flex-direction: column; gap: 24px; }
.doc h1 { font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
.doc .updated { margin-top: -12px; font-size: 14px; color: var(--fg-placeholder); }
.doc h2 { margin-top: 16px; font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.doc h3 { font-size: 17px; line-height: 1.4; font-weight: 700; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--fg-muted); }
.doc strong { color: var(--fg); font-weight: 700; }
.doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.doc pre {
  margin: 0; padding: 18px 20px; border-radius: 14px; background: var(--code);
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7;
  color: var(--fg-muted); overflow-x: auto; white-space: pre-wrap; word-break: break-word;
}
.doc code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; padding: 2px 6px; border-radius: 6px; background: var(--code); }
.doc pre code { padding: 0; background: none; font-size: 13px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--divider); line-height: 1.6; }
.doc th { font-weight: 700; color: var(--fg); white-space: nowrap; }
.doc td { color: var(--fg-muted); }
.doc tr:last-child td { border-bottom: 0; }
.doc .back { align-self: flex-start; font-size: 15px; font-weight: 700; }

/* 버전 기록 */
.releases { display: flex; flex-direction: column; }
.release { display: flex; flex-direction: column; gap: 8px; padding: 28px 0; border-top: 1px solid var(--divider); }
.release:first-child { padding-top: 0; border-top: 0; }
.release h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 0; font-size: 22px; }
.release .chip { font-size: 12px; font-weight: 500; color: var(--fg-placeholder); }
.release-meta { font-size: 14px; color: var(--fg-placeholder); }
.release ul { margin-top: 4px; }
/* 설명 없는 판: 한 줄, 이어지면 구분선 없이 촘촘한 목록 */
.release-brief { padding: 12px 0; }
.release-brief h2 { gap: 10px; font-size: 16px; }
.release-brief .release-meta { font-size: 13px; font-weight: 500; }
.release-brief + .release-brief { border-top: 0; padding-top: 0; }

/* 푸터 */
.footer { padding: 40px 20px 56px; font-size: 13px; line-height: 1.8; color: var(--fg-placeholder); text-align: center; }
.footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-bottom: 10px; }
.footer nav a { color: var(--fg-placeholder); }
.footer nav a:hover { color: var(--brand); }

/* 모션 */
@keyframes glow-drift {
  0%   { background-position: 0 0, 100% 100%, 50% 0, 0 0; }
  50%  { background-position: 60% 40%, 40% 70%, 80% 30%, 0 0; }
  to   { background-position: 100% 100%, 0 0, 20% 60%, 0 0; }
}
@keyframes rise { 0% { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* 반응형 */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar { top: 14px; left: 16px; right: 16px; }
  .lang-switch { padding: 7px 14px; font-size: 13px; }
  .topbar-right { gap: 8px; }
  .theme-switch { padding: 3px; }
  .theme-switch button { width: 28px; height: 28px; }
  .brand-mark img { height: 30px; }
  .hero { padding: 32px 16px; }
  .window { padding: 40px 24px 32px; border-radius: 32px; gap: 28px; }
  .logo { width: 96px; height: 96px; }
  .title { font-size: 28px; }
  .section { padding: 64px 20px; }
  .section h2 { font-size: 24px; }
  .card { padding: 24px; }
  .faq { padding: 4px 24px; }
  .hero { padding: 96px 16px 16px; gap: 36px; }
  .browser { border-radius: 18px; }
  .browser-tab { display: none; }
  .browser-page { height: 400px; padding: 20px 20px 24px; }
  .vs { padding: 4px 12px; }
  .vs th, .vs td { padding: 14px 4px; }
  .vs tbody th { font-size: 14px; }
  .vs small { font-size: 11px; }
  .doc { padding: 96px 16px 32px; }
  .doc .tile { padding: 28px 22px; border-radius: 20px; }
  .doc h1 { font-size: 24px; }
  .doc h2 { font-size: 19px; }
  .doc table, .doc th, .doc td { display: block; }
  .doc th { padding-bottom: 4px; border-bottom: 0; white-space: normal; }
  .doc td { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body, .brand, .hero .cta, .browser { animation: none; }
  .bp-ad { animation: none; height: 0; margin: 0; opacity: 0; border-width: 0; }
  .browser-page { animation: none; }
  .browser-state .off { animation: none; opacity: 0; }
  .browser-state .on { animation: none; opacity: 1; }
  .download-btn, .download-btn:hover { transform: none; transition: none; }
  .chev { transition: none; }
}
