/* ─── COMPONENTS — MINIMAL, PRECISE ────────────────────────────────── */

/* Buttons — only two. Primary and ghost. */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 48px;
  padding: 0 var(--s-5);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: all var(--t-sm) var(--ease-out);
  user-select: none;
}

.btn-primary {
  background: var(--text);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--black);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--line-hi);
  background: var(--glass);
}

.btn-sm { height: 36px; padding: 0 var(--s-4); font-size: 0.82rem; }
.btn-lg { height: 56px; padding: 0 var(--s-6); font-size: 0.95rem; }

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  transition: transform var(--t-sm) var(--ease-out);
}
.btn:hover svg { transform: translateX(2px); }

/* Tag — minimal pill for status/labels */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--alive);
  box-shadow: 0 0 0 0 currentColor;
  animation: tag-pulse 2s var(--ease-out) infinite;
}
@keyframes tag-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  100% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
}
.tag-accent { color: var(--accent); border-color: var(--accent-soft); }
.tag-accent .tag-dot { background: var(--accent); animation-name: tag-pulse-accent; }
@keyframes tag-pulse-accent {
  0% { box-shadow: 0 0 0 0 rgba(167,139,250,0.5); }
  100% { box-shadow: 0 0 0 8px rgba(167,139,250,0); }
}

/* Surface — used for cards in app only, not marketing */
.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

/* Icons — 1.5px consistent stroke */
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
