/* HackByte Workspace — 랜딩 body 토큰 · 레이아웃 · 버튼
   (헤더/푸터/기본 리셋은 hackbyte global.css 를 따른다) */

:root {
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --accent: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-ink: #0b1220; /* 다크 섹션용 잉크 */

  --text: #0f172a;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e9edf3; /* 아주 옅은 구분선 */
  --line-strong: #d7dde7;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Inter", "Nanum Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

/* ── 레이아웃 ─────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(80px, 12vh, 160px);
}

.section--tight {
  padding-block: clamp(56px, 8vh, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--primary);
}

.eyebrow.is-light {
  color: #7aa2ff;
}
.eyebrow.is-light::before {
  background: #7aa2ff;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 800;
}

.h-display {
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.h-section {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
}

.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 60ch;
}

.text-muted {
  color: var(--muted);
}

/* ── 버튼 ─────────────────────────────────────────────────── */
.btn {
  --pad-y: 14px;
  --pad-x: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--link {
  padding: 0;
  background: none;
  color: var(--primary);
  font-weight: 600;
}
.btn--link .arrow {
  transition: transform 0.2s var(--ease);
}
.btn--link:hover .arrow {
  transform: translateX(4px);
}

.btn--lg {
  --pad-y: 17px;
  --pad-x: 30px;
  font-size: 16px;
}

.btn--on-dark.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--on-dark.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ── 헤더: 워크스페이스 진입 링크(가입 멤버 전용) — 눈에 띄지 않는 흐린 글자 ── */
.ws-enter-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.16s var(--ease);
  white-space: nowrap;
}
.ws-enter-link:hover { color: var(--text); }

/* ── 프로필 메뉴: 작은 그레이 + 우상단 화살표(hackbyte 리다이렉션 표시) ── */
.ws-avatar-links .ws-ext-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.ws-avatar-links .ws-ext-link:hover { color: var(--text); }
.ws-avatar-links .ws-ext-tag {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .01em; color: var(--faint);
}
.ws-avatar-links .ws-ext-tag .ic { width: 12px; height: 12px; opacity: .8; }
.ws-avatar-links .ws-ext-link:hover .ws-ext-tag { color: var(--primary); }
