/* bee-v.com 내려받기 페이지. 색·글꼴은 브랜드(docs/design/figma.md 「비브이 — 브랜드」)를 따른다. */
@font-face {
  font-family: "Pretendard";
  src: url("/assets/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --honey: #f7b500;
  --honey-soft: #fdd866;
  --honey-wash: #fff6d6;
  --ink: #17140c;
  --ink-2: #4a4535;
  --ink-3: #6e6852;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --line: rgba(23, 20, 12, 0.08);
  --line-strong: rgba(23, 20, 12, 0.14);
  --warn-bg: #fff3d1;
  --focus: #1f5fd6;

  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-shell: 32px;
  --r-core: 26px;
  --r-pill: 999px;
  --shadow: 0 30px 60px -30px rgba(80, 60, 0, 0.28), 0 10px 24px -14px rgba(80, 60, 0, 0.18);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f1e6;
    --ink-2: #cfc8b4;
    --ink-3: #a59e88;
    --bg: #12100a;
    --surface: #1d1a12;
    --line: rgba(245, 241, 230, 0.08);
    --line-strong: rgba(245, 241, 230, 0.16);
    --honey-wash: #2a230c;
    --warn-bg: #2d240b;
    --focus: #8fb4ff;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 10px 24px -14px rgba(0, 0, 0, 0.5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.88em; background: var(--line); padding: 1px 6px; border-radius: 6px; word-break: break-all; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 16px; }

/* 떠 있는 메뉴 */
.nav-wrap { position: sticky; top: 0; z-index: 20; padding: 16px var(--gutter) 0; pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 16px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 30px -18px rgba(60, 45, 0, 0.35);
}
.nav-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 8px 12px; border-radius: var(--r-pill); transition: background 300ms var(--ease), color 300ms var(--ease); }
.nav-links a:hover { background: var(--line); color: var(--ink); }
.nav-cta { text-decoration: none; font-weight: 600; font-size: 15px; background: var(--ink); color: var(--bg); padding: 9px 18px; border-radius: var(--r-pill); transition: transform 300ms var(--ease); }
.nav-cta:active { transform: scale(0.97); }

/* 첫 화면 */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) var(--gutter) clamp(72px, 10vw, 140px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--honey-wash); color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--honey) 45%, transparent);
}
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; font-weight: 750; }
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.12; margin-top: 20px; }
h1 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--honey) 70%, transparent) 62%, color-mix(in srgb, var(--honey) 70%, transparent) 92%, transparent 92%); padding: 0 2px; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.18; margin-top: 16px; }
h3 { font-size: 20px; line-height: 1.35; letter-spacing: -0.025em; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 34em; margin: 22px 0 0; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 26px; border-radius: var(--r-pill);
  background: var(--honey); color: #17140c; text-decoration: none;
  font-weight: 700; font-size: 17px; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(160, 110, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.btn-primary:hover { box-shadow: 0 18px 36px -14px rgba(160, 110, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-primary:active { transform: scale(0.98); }
.btn-icon {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #17140c; color: var(--honey);
  transition: transform 400ms var(--ease);
}
.btn-primary:hover .btn-icon { transform: translateY(2px) scale(1.05); }
.btn-ghost { text-decoration: none; font-weight: 600; color: var(--ink-2); padding: 14px 18px; border-radius: var(--r-pill); transition: background 300ms var(--ease); }
.btn-ghost:hover { background: var(--line); }
.file-meta { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); }

.phone-note { display: none; margin-top: 24px; gap: 12px; padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.phone-note > .icon { width: 24px; height: 24px; margin-top: 2px; }
.phone-note strong { display: block; font-size: 15px; }
.phone-note span { font-size: 15px; color: var(--ink-2); }
.copy-btn { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--font); color: var(--ink); background: var(--line); border: 0; border-radius: var(--r-pill); padding: 8px 14px; min-height: 40px; cursor: pointer; transition: transform 300ms var(--ease); }
.copy-btn:active { transform: scale(0.97); }
.copy-btn[data-state="done"] { background: var(--honey-wash); }
.copy-btn[data-state="fail"] { background: var(--warn-bg); }

/* 설명 그림: 회의 프로그램 카메라 고르기 */
.bezel { padding: 8px; border-radius: var(--r-shell); background: color-mix(in srgb, var(--ink) 5%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.bezel-core { border-radius: var(--r-core); background: var(--surface); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.hero-art { transform: rotate(1.5deg); }
.picker { padding: 18px 18px 22px; }
.picker-top { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; }
.picker-top .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.picker-title { margin-left: 10px; font-size: 13px; color: var(--ink-3); }
.picker-preview { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #fff2c2 0%, #ffd760 55%, #f2ad00 100%); }
.picker-preview img { width: 46%; height: auto; filter: drop-shadow(0 18px 24px rgba(120, 80, 0, 0.28)); animation: float 6s var(--ease) infinite alternate; }
.live { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(23, 20, 12, 0.72); padding: 5px 10px; border-radius: var(--r-pill); }
.picker-label { margin: 18px 4px 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.picker-list { list-style: none; margin: 0; padding: 6px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.picker-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; font-size: 15px; color: var(--ink-3); }
.picker-list li.on { background: var(--honey-wash); color: var(--ink); font-weight: 650; }
.picker-list .tick { margin-left: auto; color: #b27f00; }
.art-caption { margin: 14px 8px 0; font-size: 13px; color: var(--ink-3); transform: rotate(-1.5deg); }
@keyframes float { from { transform: translateY(-4px); } to { transform: translateY(6px); } }

/* 섹션 공통 */
.features, .install, .reqs { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--gutter); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }

/* 기능: 크기가 다른 칸 */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { grid-column: span 5; padding: 8px; border-radius: var(--r-shell); background: color-mix(in srgb, var(--ink) 4%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.tile-wide { grid-column: span 7; grid-row: span 2; }
.tile-core { height: 100%; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-core); background: var(--surface); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 20px 40px -32px rgba(80, 60, 0, 0.35); }
.tile-core p { color: var(--ink-2); margin: 12px 0 0; }
.tile-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--honey-wash); margin-bottom: 20px; }
.tile-icon .icon { width: 26px; height: 26px; }
.tile-wide h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.035em; }
.tile-dark .tile-core { background: #17140c; color: #f5f1e6; }
.tile-dark .tile-core p { color: #cfc8b4; }
.tile-dark .tile-icon { background: rgba(247, 181, 0, 0.16); color: var(--honey); }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: var(--r-pill); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.text-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-underline-offset: 4px; color: var(--honey); }

/* 설치 단계 */
.steps { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.steps li:last-child { border-bottom: 1px solid var(--line-strong); }
.step-no { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; background: var(--honey); color: #17140c; }
.steps p { color: var(--ink-2); margin: 8px 0 0; }
.warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--warn-bg); color: var(--ink) !important; font-size: 15px; }
.warn .icon { margin-top: 3px; color: #b27f00; }

/* 필요한 것 */
.spec { margin: 0; max-width: 820px; }
.spec > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.spec > div:last-child { border-bottom: 1px solid var(--line-strong); }
.spec dt { font-weight: 650; }
.spec dd { margin: 0; color: var(--ink-2); }
.spec small { display: block; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.hash { font-size: 13px; }

/* 마지막 안내 */
.final { max-width: var(--max); margin: 0 auto clamp(72px, 10vw, 120px); padding: 0 var(--gutter); }
.final-core { border-radius: 40px; padding: clamp(48px, 7vw, 88px) var(--gutter); text-align: center; background: var(--honey); color: #17140c; display: grid; justify-items: center; gap: 24px; }
.final-core h2 { margin: 0; }
.final-core .btn-primary { background: #17140c; color: #fff6d6; box-shadow: 0 14px 30px -14px rgba(23, 20, 12, 0.6); }
.final-core .btn-icon { background: var(--honey); color: #17140c; }

/* 바닥글 */
.footer { border-top: 1px solid var(--line-strong); }
.footer-in { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; font-size: 14px; color: var(--ink-3); }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 16px; margin-bottom: 10px; }
.footer address { font-style: normal; line-height: 1.8; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-content: start; justify-content: flex-end; }
.footer nav a { color: var(--ink-2); text-underline-offset: 4px; padding: 6px 0; }
.footer nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }

/* 약관 페이지 */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter) 96px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); margin: 18px 0 8px; }
.doc .doc-meta { color: var(--ink-3); font-size: 15px; margin: 0 0 40px; }
.doc h2 { font-size: 22px; margin: 44px 0 12px; letter-spacing: -0.025em; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc li { margin: 6px 0; }
.doc .table-scroll { overflow-x: auto; margin: 16px 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { background: color-mix(in srgb, var(--ink) 4%, transparent); font-weight: 650; }
.doc tr:last-child td { border-bottom: 0; }
.doc pre { white-space: pre-wrap; font-size: 13px; line-height: 1.6; background: var(--surface); padding: 20px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }

/* 처음 나타날 때 */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.hero-art.reveal.in { transform: rotate(1.5deg); }
.no-js .reveal, .no-observer .reveal { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-art.reveal { transform: rotate(1.5deg); }
  .picker-preview img { animation: none; }
}

/* 회의 앱 소개 (Figma 132:2) */
.meet { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--gutter); display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); align-items: center; }
.eyebrow-soon { display: inline-flex; align-items: center; gap: 8px; }
.soon-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--honey); }
.meet-lede { color: var(--ink-2); margin: 20px 0 0; }
.meet-points { list-style: none; margin: 28px 0 0; padding: 0; }
.meet-points li { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.meet-points li + li { border-top: 1px solid var(--line); }
.meet-points .tile-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; margin: 0; color: var(--ink); }
.meet-points .tile-icon .icon { width: 24px; height: 24px; }
.meet-points h3 { font-size: 17px; letter-spacing: -0.02em; }
.meet-points p { margin: 2px 0 0; font-size: 15px; color: var(--ink-3); }
.meet-note { margin: 20px 0 0; font-size: 14px; color: var(--ink-3); }
.meet-art { margin: 0; }
.meet-window { border-radius: var(--r-core); background: #17140c; color: #f5f1e6; padding: 18px; box-shadow: var(--shadow); }
.meet-window .picker-top .dot { background: rgba(245, 241, 230, 0.18); }
.meet-window .picker-title { color: #a59e88; }
.meet-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.meet-grid li { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; background: #2a261b; display: grid; place-items: center; }
.meet-grid li.speaking { box-shadow: inset 0 0 0 3px var(--honey); }
.meet-grid .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff6d6; color: #17140c; font-weight: 750; font-size: 18px; margin-top: -14px; }
.meet-grid .speaking .avatar { background: var(--honey); animation: speak 2.4s var(--ease) infinite alternate; }
.meet-grid .who { position: absolute; left: 10px; bottom: 8px; font-size: 11px; font-weight: 600; color: #f5f1e6; white-space: nowrap; }
.meet-grid .raised { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; padding: 5px 7px; border-radius: var(--r-pill); background: var(--honey); color: #17140c; }
.meet-grid .raised .icon { width: 14px; height: 14px; }
.meet-grid .more { font-size: 16px; font-weight: 750; }
.meet-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; }
.link-pill, .count-pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px 9px 13px; border-radius: var(--r-pill); font-size: 13px; white-space: nowrap; }
.link-pill { background: var(--honey); color: #17140c; font-weight: 700; }
.count-pill { background: rgba(245, 241, 230, 0.08); font-weight: 600; }
.link-pill .icon, .count-pill .icon { width: 16px; height: 16px; }
@keyframes speak { from { box-shadow: 0 0 0 0 rgba(247, 181, 0, 0.45); } to { box-shadow: 0 0 0 10px rgba(247, 181, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .meet-grid .speaking .avatar { animation: none; } }

/* 태블릿·휴대폰 */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art, .hero-art.reveal.in { transform: none; max-width: 560px; }
  .art-caption { transform: none; }
  .tile, .tile-wide { grid-column: span 12; grid-row: auto; }
  .meet { grid-template-columns: minmax(0, 1fr); }
  .meet-art { max-width: 560px; }
  .meet-art .art-caption { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .phone-note { display: flex; }
  .cta-row .btn-ghost { display: none; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .step-no { width: 36px; height: 36px; font-size: 15px; }
  .spec > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-in { grid-template-columns: minmax(0, 1fr); }
  .footer nav { justify-content: flex-start; }
  .final-core { border-radius: 28px; }
  .meet-window { padding: 12px; }
  .meet-grid { gap: 6px; }
  .meet-grid .avatar { width: 30px; height: 30px; font-size: 14px; margin-top: -14px; }
  .meet-grid .raised { top: 5px; right: 5px; padding: 3px 5px; }
  .meet-grid .raised .icon { width: 11px; height: 11px; }
  .meet-grid .who { left: 7px; bottom: 5px; font-size: 10px; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; }
}

/* 404 */
.not-found { text-align: center; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.not-found img { width: 120px; height: 120px; }
.not-found h1 { margin-top: 24px; }
