/* Keyvo 홈페이지 3판(2026-10-30).
   uiverse.io 요소(MIT)를 바탕으로 만들었다. 출처와 라이선스는 /credits.
   - 맥 키보드: dexter-st/mean-donkey-62
   - 검은 키캡 버튼: Yaya12085/quick-husky-74, 흰 키캡 버튼: Cksunandh/stale-dog-84
   - 마이크 버튼(검정 원, 연보라 테두리, 펴지는 알약): vinodjangid07/afraid-falcon-17, smart-emu-83 (아이폰 앱과 같음)
   - 다듬는 중 튀는 점: mobinkakei/grumpy-turtle-41 (아이폰 앱과 같음)
   - 스위치 비율·전환: RiccardoRapelli/jolly-chicken-91 (아이폰 앱과 같음)
   글꼴은 Pretendard 하나, 색은 앱의 연보라(#b5a0ff)와 소리 막대 그라데이션만 쓴다. */
:root {
  --bg: #f4f5f6;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e3e4e8;
  --lav: #b5a0ff;
  --lav-ring: rgba(180, 160, 255, 0.28);
  --red: #ff4545;
  --bars: linear-gradient(180deg, #9466ff, #de73ee 55%, #ffb36e);
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 30; background: rgba(244, 245, 246, 0.82); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { height: 60px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -0.3px; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.top nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.pillbtn { height: 34px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 13.5px/34px var(--sans); text-decoration: none; white-space: nowrap; }

/* 키캡 버튼: Yaya12085/quick-husky-74(검정), Cksunandh/stale-dog-84(흰색)을 글자 버튼으로 넓혔다 */
.cap { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-width: 188px; height: 64px; padding: 11px 16px 12px; border-radius: 15px 15px 12px 12px; font: 600 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; user-select: none; transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out; }
.cap .glyph { align-self: flex-end; font-size: 13px; opacity: 0.6; }
.cap.dark { color: #fff; background-color: #000; border: 0.5px solid rgba(0, 0, 0, 0.1); background-image: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)), linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); box-shadow: inset -4px -10px 0 rgba(255, 255, 255, 0.4), inset -4px -8px 0 rgba(0, 0, 0, 0.3), 0 2px 1px rgba(0, 0, 0, 0.3), 0 2px 1px rgba(255, 255, 255, 0.1); transform: perspective(160px) rotateX(5deg); }
.cap.dark:active { transform: perspective(160px) rotateX(5deg) translateY(3px) scale(0.98); box-shadow: inset -4px -8px 0 rgba(255, 255, 255, 0.2), inset -4px -6px 0 rgba(0, 0, 0, 0.8), 0 1px 0 rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.2); }
/* 흰 키캡: 검은 키캡과 같은 구조(원근 + 아래·오른쪽 옆면)를 밝은 색으로. 옆면이 보여야 키처럼 선다 */
.cap.light { color: var(--ink); background-color: #fbfbfc; border: 0.5px solid rgba(0, 0, 0, 0.22); background-image: linear-gradient(to bottom, #ffffff, #f1f1f4); box-shadow: inset -4px -10px 0 #d2d2d8, inset -4px -8px 0 #e4e4e9, 0 2px 1px rgba(0, 0, 0, 0.22), 0 8px 16px -6px rgba(0, 0, 0, 0.28); transform: perspective(160px) rotateX(5deg); }
.cap.light .glyph { opacity: 0.45; }
.cap.light:active { transform: perspective(160px) rotateX(5deg) translateY(3px) scale(0.98); box-shadow: inset -4px -8px 0 #d2d2d8, inset -4px -6px 0 #e4e4e9, 0 1px 0 rgba(0, 0, 0, 0.3), 0 3px 6px -3px rgba(0, 0, 0, 0.2); }

/* 첫 화면 */
.hero { text-align: center; padding: 88px 0 40px; }
.hero h1 { margin: 0; font-size: clamp(42px, 7vw, 76px); line-height: 1.1; letter-spacing: -0.04em; font-weight: 700; }
/* v6 광고 끝 화면과 같게: 문장부호 없이 개떡·찰떡에만 앱 아이콘 색 */
.hero h1 .g { background: linear-gradient(90deg, #a67dff, #e38ff2 55%, #ffd49c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .meta { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.hero .lead { margin: 22px auto 0; max-width: 31em; font-size: clamp(16.5px, 1.5vw, 19px); color: var(--muted); }
.ctas { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* 맥 무대: 입력창 + 받아쓰기 알약 + 키보드 */
.stage { margin: 72px auto 0; display: flex; flex-direction: column; align-items: center; }
.field { width: min(560px, 100%); min-height: 76px; padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px -12px rgba(0, 0, 0, 0.12); text-align: left; font-size: 17px; color: var(--ink); }
.field .ph { color: #b0b0b6; }
.field .app { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.17em; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.voice { height: 92px; display: grid; place-items: center; }
/* 말한 그대로(화면 설명용 자막. 실제 앱은 듣는 동안 글자를 보여 주지 않는다) */
.spoken { min-height: 24px; max-width: 560px; font-size: 14.5px; color: var(--muted); text-align: center; transition: opacity 0.3s; }
/* 가장 긴 문장을 안 보이게 같은 칸에 겹쳐 둔다. 문장 길이가 달라도 아래가 움직이지 않는다 */
.slot { display: grid; }
.slot > * { grid-area: 1 / 1; min-width: 0; }
.slot .ghost { visibility: hidden; }
.spoken-slot { width: min(560px, 100%); }
.spoken .tag { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 11.5px; font-weight: 600; color: var(--muted); vertical-align: 1px; }
.spoken s { color: #b6b6bc; text-decoration-color: rgba(181, 160, 255, 0.9); text-decoration-thickness: 2px; }

/* 맥 앱 받아쓰기 창(Sources/KeyvoMac/Overlay.swift)과 같은 치수: 높이 36, 모서리 18, 좌우 14, 막대 11개(폭 3·간격 3·높이 22).
   듣는 동안은 소리를 따라, 다듬는 동안은 물결이 지나간다(VoiceBars.swift를 그대로 옮긴 /index.html 스크립트) */
.overlay { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 18px; background: #fbfaff; border: 0.5px solid rgba(41, 20, 89, 0.09); box-shadow: 0 6px 20px rgba(41, 20, 89, 0.16), 0 1px 2px rgba(0, 0, 0, 0.05); opacity: 0; transform: scale(0.6); transform-origin: bottom center; transition: opacity 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.overlay.show { opacity: 1; transform: none; }
.vbars { display: flex; align-items: center; gap: 3px; height: 22px; }
.vbars i { display: block; width: 3px; height: 3px; border-radius: 1.5px; }

/* uiverse dexter-st/mean-donkey-62 맥 키보드(크기만 키움). 오른쪽 ⌥가 Keyvo 단축키 */
.kb-scale { width: 100%; display: flex; justify-content: center; }
.keyboard { display: flex; flex-direction: column; gap: 5px; padding: 16px 16px 19px; border-radius: 16px; background-color: #d3d3d3; background-image: linear-gradient(to bottom, #d3d3d3, #c5c5c5); box-shadow: rgba(0, 0, 0, 0.4) 0 2px 4px, rgba(0, 0, 0, 0.3) 0 7px 13px -3px, rgba(0, 0, 0, 0.2) 0 -3px 0 inset; width: 680px; user-select: none; transform-origin: top center; }
.keyboard .row { display: flex; gap: 3px; }
.key { background-color: #f0f0f0; border: 1px solid #0003; border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.4) 0 2px 4px, rgba(0, 0, 0, 0.3) 0 7px 13px -3px, rgba(0, 0, 0, 0.2) 0 -1px 0 inset; min-width: 38px; flex: 1; text-align: center; padding: 9px 5px; font-size: 10.5px; color: #333; transition: box-shadow 0.2s, background-color 0.2s, transform 0.1s; }
.key.fn { max-height: 26px; padding: 4px; font-size: 9.5px; }
.key.w15 { flex: 1.5; } .key.w2 { flex: 2; } .key.w25 { flex: 2.5; } .key.space { flex: 6; }
.key.sym { font-size: 16px; padding: 4px 2px; }
.key.target { position: relative; background: #fff; color: #111; box-shadow: 0 0 0 3px var(--lav), 0 0 0 9px var(--lav-ring), rgba(0, 0, 0, 0.3) 0 7px 13px -3px; cursor: pointer; z-index: 2; }
.key.target::after { content: "꾹 눌러 말하기"; position: absolute; left: 50%; bottom: calc(100% + 16px); transform: translateX(-50%); white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -3px); } }
.key.target.pressed { transform: translateY(2px); background: #e9e5ff; box-shadow: 0 0 0 3px var(--lav), 0 0 0 9px var(--lav-ring), rgba(0, 0, 0, 0.3) 0 2px 4px; }
.key.target.pressed::after, .stage.used .key.target::after { opacity: 0; }
.stage-note { margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.stage-note kbd { white-space: nowrap; font-family: var(--sans); font-size: 12px; padding: 2px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; }

/* 구역 */
section.block { padding: 128px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
h2 { margin: 0; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.18; letter-spacing: -0.035em; font-weight: 700; }
.sub { margin: 16px 0 0; font-size: 17.5px; color: var(--muted); max-width: 30em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.points { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; color: #3a3a3e; }
.points li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 11px var(--lav); }

/* 아이폰 */
.phone { width: 330px; margin: 0 auto; padding: 11px; border-radius: 54px; background: #111; box-shadow: 0 0 0 1.5px #3a3a3c inset, 0 40px 80px -30px rgba(0, 0, 0, 0.45); }
.screen { position: relative; height: 660px; border-radius: 44px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.island { position: absolute; top: 11px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; z-index: 3; }
.chat-head { padding: 52px 18px 10px; text-align: center; font-size: 13.5px; font-weight: 700; border-bottom: 1px solid #f0f0f2; }
.chat { flex: 1; padding: 14px 14px 8px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; overflow: hidden; }
.msg { max-width: 76%; padding: 8px 12px; border-radius: 17px; font-size: 13.5px; line-height: 1.45; }
.msg.in { align-self: flex-start; background: #f0f0f3; }
.msg.out { align-self: flex-end; background: var(--ink); color: #fff; animation: pop 0.25s ease-out; }
@keyframes pop { from { transform: scale(0.9); opacity: 0; } }
.compose { margin: 0 12px 8px; min-height: 36px; padding: 8px 14px; border-radius: 18px; background: #f2f2f5; font-size: 13.5px; color: var(--ink); text-align: left; }
.compose .ph { color: #a8a8ae; }
/* 아이폰 Keyvo 키보드: ios/Keyboard/KeyboardView.swift·KeysView.swift 치수를 0.77배로(iPhone 402pt 폭 → 화면 308px).
   윗줄(높이 46): 평소엔 로고 + "맞춤법"·"., 생략" 칩, 받아쓰는 동안엔 가운데 검은 알약(막대 11개) + 오른쪽 ✕.
   키(높이 43, 줄 간격 11, 모서리 8, 그림자 없음). 받아쓰기 키는 맨 아랫줄: 검정 + 흰 막대 셋(9·18·12),
   마이크가 켜져 있으면 연보라 테두리, 듣는 동안 빨강 정지, 다듬는 동안 튀는 점 셋(uiverse mobinkakei) */
.kbd { --u: 26.2px; --g: 4.6px; background: #ebebf0; padding: 0 2.3px 18px; }
.kbd-top { position: relative; height: 35px; padding: 0 5px; display: flex; align-items: center; }
.kbd-top .idle, .kbd-top .live { position: absolute; inset: 0 5px; display: flex; align-items: center; transition: opacity 0.2s, transform 0.2s; }
.kbd-top .live { justify-content: center; opacity: 0; transform: scale(0.92); pointer-events: none; }
.kbd.dictating .kbd-top .idle { opacity: 0; }
.kbd.dictating .kbd-top .live { opacity: 1; transform: none; }
.brandmark { display: flex; align-items: center; gap: 5.4px; font-size: 12.3px; font-weight: 700; color: #141414; }
.brandmark img { width: 17px; height: 17px; border-radius: 4.2px; }
/* 마침표·쉼표 생략 버튼(ios/Keyboard PunctuationToggle): 켜져 있으면 검정에 "다" */
.da { margin-left: auto; height: 23px; min-width: 29px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: #fff; background: #141414; }
/* 받아쓰는 동안의 흰 알약(앱 아이콘처럼 흰 바탕, 2026-11-04) */
.dpill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 13px; background: #fbfaff; border: 0.5px solid rgba(41, 20, 89, 0.09); box-shadow: 0 3px 8px rgba(41, 20, 89, 0.16); }
.dpill .vbars { height: 17px; gap: 2.3px; }
.dpill .vbars i { width: 2.3px; border-radius: 1.2px; }
.xbtn { position: absolute; right: 0; top: 6px; width: 23px; height: 23px; border-radius: 50%; background: #fff; border: 1px solid #e3e3e8; display: grid; place-items: center; }
.xbtn svg { width: 8px; height: 8px; }
.keys { display: grid; gap: 8.5px; padding-top: 6px; }
.krow { display: flex; gap: var(--g); justify-content: center; }
.k { flex: none; width: var(--u); height: 33px; border-radius: 6px; background: #fff; display: grid; place-items: center; font-size: 17px; color: #141414; }
.k.f { background: #d6d6de; font-size: 11.5px; font-weight: 500; }
.k.side { width: calc(var(--u) * 1.32); }
.krow.bottom { display: grid; grid-template-columns: 1.2fr 1fr 4.6fr 1.35fr 1.6fr; }
.krow.bottom .k { width: auto; }
.k.sp { font-size: 11.5px; font-weight: 500; }
/* 받아쓰기 키(ios/Keyboard KeysView.decorateMic): 로고처럼 흰 키에 막대 다섯 개가 가만히 있다. 듣는 중·다듬는 중은 윗줄 알약만 움직인다 */
.k.mic { position: relative; background: #fff; }
.k.mic .bars5 { display: flex; align-items: center; gap: 2.3px; }
.k.mic .bars5 b { width: 2.3px; border-radius: 1.2px; background: var(--bars); }

/* 말한 그대로 ↔ Keyvo */
.compare { margin-top: 48px; padding: 36px 40px 40px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); }
.compare-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.compare-head .label { font-size: 13.5px; font-weight: 700; color: var(--muted); transition: color 0.2s; }
.toggle { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.toggle .on { color: var(--ink); }
/* RiccardoRapelli/jolly-chicken-91 스위치 비율(60×34, 손잡이 26)과 0.4초 전환 */
.switch { position: relative; display: inline-block; width: 60px; height: 34px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; cursor: pointer; border-radius: 34px; background: #d6d6db; transition: 0.4s; }
.switch .slider::before { content: ""; position: absolute; width: 26px; height: 26px; left: 4px; bottom: 4px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18); transition: 0.4s; }
.switch input:checked + .slider { background: var(--ink); }
.switch input:checked + .slider::before { transform: translateX(26px); background: var(--lav); }
.switch input:focus-visible + .slider { box-shadow: 0 0 0 3px var(--lav-ring); }
.compare-text { position: relative; min-height: 132px; font-size: clamp(19px, 2vw, 24px); line-height: 1.65; letter-spacing: -0.01em; }
.compare-text p { margin: 0; transition: opacity 0.35s, filter 0.35s; }
.compare-text .after { position: absolute; inset: 0; opacity: 0; filter: blur(4px); font-weight: 600; }
.compare-text .before s { color: #b4b4ba; text-decoration-color: rgba(181, 160, 255, 0.9); text-decoration-thickness: 2px; }
.compare.done .before { opacity: 0; filter: blur(4px); }
.compare.done .after { opacity: 1; filter: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags span { padding: 6px 12px; border-radius: 999px; background: var(--bg); font-size: 13px; color: #48484c; }

/* 쓰는 순간 */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.moment { margin: 0; }
.moment img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 36%; border-radius: 20px; background: #ddd; }
.moment h3 { margin: 18px 0 4px; font-size: 18px; letter-spacing: -0.3px; }
.moment p { margin: 0; font-size: 15px; color: var(--muted); }

/* 가격 */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.plan { padding: 34px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plan-head { display: flex; justify-content: space-between; align-items: center; }
.plan-head .toggle { color: var(--muted); }
.amount { margin: 26px 0 0; font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.amount small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.per { margin: 10px 0 0; min-height: 24px; font-size: 14.5px; color: var(--muted); }
.per b { color: var(--ink); font-weight: 600; }
.plan ul { margin: 26px 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plan li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; display: flex; justify-content: space-between; }
.plan li span { color: var(--muted); }
.plan .cap { width: 100%; }
.launch { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: #ece8ff; font-size: 14.5px; color: #3b3260; }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* 질문 */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 16.5px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; margin-right: 4px; width: 10px; height: 10px; margin-top: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq details p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.faq a { color: var(--ink); }

/* 맺음 */
.closing { text-align: center; }
.closing h2 { font-size: clamp(34px, 5vw, 56px); }
.closing .ctas { margin-top: 36px; }
.closing .meta { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.cap .glyph svg { display: block; }

/* 바닥 */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 13px; color: var(--muted); }
footer .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .links a { color: var(--ink); text-decoration: none; }
footer .biz { margin: 0; line-height: 1.9; }
footer .biz span { white-space: nowrap; }
footer .biz span.addr { white-space: normal; }
footer .biz span + span::before { content: "·"; margin: 0 8px; color: #c4c4ca; }

/* 약관 문서 */
.doc { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.doc h1 { font-size: 36px; letter-spacing: -1px; margin: 0; font-weight: 700; }
.doc .meta { margin: 10px 0 36px; color: var(--muted); font-size: 14px; }
.doc h2 { font-size: 19px; letter-spacing: -0.3px; margin: 38px 0 10px; }
.doc p, .doc li { font-size: 15.5px; color: #333336; }
.doc ol, .doc ul { padding-left: 22px; }
.doc a { color: #6b4fd8; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0; background: var(--surface); }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: #fafafb; }
.doc pre { white-space: pre-wrap; font-size: 12.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }

@media (prefers-reduced-motion: reduce) {
  .caret, .dots .circle, .key.target::after { animation: none; }
}
@media (max-width: 880px) {
  .top nav { display: none; }
  .pillbtn { margin-left: auto; }
  .hero { padding: 56px 0 24px; }
  .ctas { gap: 16px; }
  .cap { min-width: 160px; }
  section.block { padding: 88px 0; }
  .split, .price-wrap { grid-template-columns: 1fr; gap: 48px; }
  .compare { padding: 26px 22px 28px; }
  .compare-head { flex-direction: column; align-items: flex-start; }
  /* 사진은 옆으로 넘겨 보기 */
  .moments { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--pad, 24px)); margin-right: calc(-1 * var(--pad, 24px)); padding: 0 var(--pad, 24px) 6px; scroll-padding: 0 var(--pad, 24px); scrollbar-width: none; }
  .moments::-webkit-scrollbar { display: none; }
  .moment { scroll-snap-align: start; }
  .stage-note .desk { display: none; }
}

/* 검수(2026-10-30): 메뉴로 이동할 때 제목이 머리줄에 가리지 않게, 키보드로 다닐 때 초점이 보이게 */
section[id] { scroll-margin-top: 72px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; border-radius: 8px; }
.cap:focus-visible { outline-offset: 5px; border-radius: 15px; }
@media (max-width: 640px) {
  footer .biz br { display: none; }
  footer .biz span { display: block; }
  footer .biz span + span::before { content: none; }
}

/* 언어 전환(한국어 · English)과 영어판 키보드 그림(2026-11-06) */
footer .lang { margin: 0 0 14px; display: flex; gap: 0; }
footer .lang a { color: var(--muted); text-decoration: none; }
footer .lang a + a::before { content: "·"; margin: 0 8px; color: #c4c4ca; }
footer .lang a[aria-current] { color: var(--ink); font-weight: 600; }
.da.off { color: #141414; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }
.da.off em { font-style: normal; font-weight: 800; color: var(--lav); }
.krow.bottom.nolang { grid-template-columns: 1.2fr 5.6fr 1.35fr 1.6fr; }

/* 로그인 페이지 */
body.login { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.login-card { width: 100%; max-width: 380px; padding: 36px 28px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-align: center; }
.login-card section[hidden] { display: none; }
.login-icon { display: block; width: 56px; height: 56px; margin: 0 auto; border-radius: 14px; }
.login-card h1 { margin: 16px 0 20px; font-size: 22px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.35; }
.login-sub { margin: -10px 0 20px; color: var(--muted); font-size: 14.5px; }
.login-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 50px; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 600 15.5px var(--sans); text-decoration: none; cursor: pointer; }
.login-btn.apple { border-color: var(--ink); background: var(--ink); color: #fff; }
.login-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 8px; color: var(--muted); font-size: 13px; }
.login-or::before, .login-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-card input { width: 100%; height: 50px; margin-top: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 16px var(--sans); outline: none; }
.login-card input:focus { border-color: var(--lav); box-shadow: 0 0 0 3px var(--lav-ring); }
.login-card input.login-digits { text-align: center; font-size: 24px; font-weight: 600; letter-spacing: 8px; }
.login-note { margin: 16px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.login-note a { color: inherit; }
.login-error { margin: -8px 0 12px; color: var(--red); font-size: 14px; }
.login-links { display: flex; justify-content: center; gap: 18px; margin-top: 16px; }
.login-links button { padding: 0; border: 0; background: none; color: var(--muted); font: 400 13.5px var(--sans); cursor: pointer; }

/* Homebrew 한 줄 설치 및 맥 기능 카드 (2026-11-25) */
.brew-wrap { display: flex; justify-content: center; margin-top: 18px; }
.brew-cmd { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 10px 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); }
.brew-cmd code { overflow-x: auto; white-space: nowrap; }
.brew-cmd button { flex: none; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); background: #f8f8fa; color: var(--ink); font: 600 12px/1 var(--sans); cursor: pointer; }
.brew-cmd button:hover { background: #efeff4; }
.mac-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 24px; box-shadow: 0 18px 40px -24px rgba(29, 29, 31, 0.14); }
.mac-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mac-dots { display: inline-flex; gap: 6px; }
.mac-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e1e2e8; display: block; }
.mac-rows { display: flex; flex-direction: column; gap: 12px; }
.mac-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; border-radius: 14px; background: #f8f8fb; border: 1px solid #ececf2; font-size: 14.5px; }
.mac-row strong { color: var(--ink); font-weight: 600; }
.mac-row span { color: var(--muted); font-size: 13.5px; text-align: right; }
.mac-row kbd { font-family: var(--sans); font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 7px; background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; color: var(--ink); }
.plat-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.plat-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.plat-pill.live { color: var(--ink); }
.plat-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #c5c5ce; }
.plat-pill.live .dot { background: linear-gradient(135deg, #9466ff, #de73ee); }
