/* 아람커뮤니케이션 공통 스타일 */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #efede6;
  --text: #1c1b19;
  --muted: #6b6860;
  --line: #e2dfd6;
  --brand: #e8572a;
  --brand-ink: #ffffff;
  --accent: #2a6fe8;
  --good: #1f9d55;
  --bad: #d64545;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --font: "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --surface: #1e1d1a;
    --surface-2: #2a2925;
    --text: #f2f0ea;
    --muted: #a19d93;
    --line: #34322d;
    --brand: #ff6b3d;
    --accent: #5b92ff;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* 상단 바 */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--brand); color: var(--brand-ink);
  display: grid; place-items: center; font-size: 17px; font-weight: 900;
}
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer;
  text-decoration: none; font-weight: 600; font-size: 15px;
  transition: transform .1s, background .15s;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.05); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* 앱 페이지 공통 */
.app-main { padding: 24px 16px 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.app-title { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 0; text-align: center; }
.app-desc { color: var(--muted); margin: 0; text-align: center; font-size: 15px; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; width: 100%; max-width: 480px;
}
.stats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 16px; text-align: center; min-width: 88px; }
.stat b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }
.row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hint { color: var(--muted); font-size: 13px; text-align: center; }

.logo, .btn { white-space: nowrap; }

@media (max-width: 640px) {
  .nav { display: none; }
}
@media (max-width: 420px) {
  .logo { font-size: 15px; gap: 8px; }
  .logo-mark { width: 28px; height: 28px; font-size: 15px; }
  .topbar .btn { padding: 7px 12px; font-size: 14px; }
}
