@import "./tokens.css";

.btn {
  min-height: var(--control-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.16s var(--ease-out),
    background 0.16s var(--ease-out),
    border-color 0.16s var(--ease-out),
    box-shadow 0.16s var(--ease-out),
    color 0.16s var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-control);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(10, 107, 120, 0.28);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-2);
}

.btn-ghost {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.btn.small {
  min-height: var(--control-height-compact);
  padding: 10px 14px;
  font-size: 0.9rem;
}

.btn.block {
  width: 100%;
}

.eyebrow,
.market-ribbon {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(10, 107, 120, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-2);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.eyebrow::before,
.market-ribbon::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--sun);
  box-shadow: 0 0 0 5px rgba(201, 121, 36, 0.12);
  flex-shrink: 0;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
  max-width: 65ch;
  text-wrap: pretty;
}

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