/* =====================================================================
 * SlasshyWispr — marketing site
 * components.css   buttons · cta · keycap · chip · ledger · badges
 * ===================================================================== */

/* ---------- button — primary (the warm amber record-button) --------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  height: 48px;
  border-radius: var(--radius-button);
  background: var(--accent-live);
  color: var(--accent-quiet-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--t-hover) var(--ease-out),
              transform var(--t-hover) var(--ease-out);
  text-decoration: none;
}
.btn-primary:hover {
  background: oklch(70% 0.18 55);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- button — ghost (looks at hardware casing) --------------- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  height: 48px;
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-line);
  cursor: pointer;
  transition: background var(--t-hover) var(--ease-out),
              color var(--t-hover) var(--ease-out),
              border-color var(--t-hover) var(--ease-out);
  text-decoration: none;
}
.btn-ghost:hover {
  background: var(--bg-paper);
  color: var(--ink-primary);
  border-color: var(--border-strong);
}
.btn-ghost svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- button — replay (showcase) ------------------------------ */
.btn-replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-button);
  background: var(--bg-paper);
  border: 1px solid var(--border-line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-secondary);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--t-hover) var(--ease-out),
              border-color var(--t-hover) var(--ease-out);
}
.btn-replay:hover { background: var(--bg-card); border-color: var(--border-strong); color: var(--ink-primary); }
.btn-replay .replay-arrow {
  width: 12px;
  height: 12px;
  display: inline-block;
  position: relative;
}
.btn-replay .replay-arrow svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- chip — mono small --------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-paper);
  border: 1px solid var(--border-line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-secondary);
  letter-spacing: 0.04em;
}
.chip--quiet { background: transparent; color: var(--ink-muted); }
.chip--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-live);
  box-shadow: 0 0 0 2px var(--accent-live-faint);
}

/* ---------- divider rule (hairline-section separator) --------------- */
.hairline {
  position: relative;
  border-top: 1px solid var(--border-line);
}

/* ---------- "keyhint" badge like the sidebar nav ------------------- */
.keyhint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-recess);
  border: 1px solid var(--border-soft);
}

/* ---------- card — used sparingly ----------------------------------- */
.card-frame {
  padding: var(--space-6);
  border-radius: var(--radius-card);
  background: var(--bg-paper);
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-card);
}

/* ---------- handwritten span ---------------------------------------- */
.t-spoken {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 36, "wght" 440, "SOFT" 50;
  font-weight: 440;
  color: var(--accent-live);
}

/* ---------- small marker / arrow shape ----------------------------- */
.mark-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
  vertical-align: middle;
}

/* ---------- signature list (the bullet "•" replaced with mono hash) -- */
.sig-list { list-style: none; padding: 0; margin: 0; }
.sig-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-6);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-line);
  align-items: baseline;
}
.sig-list li:first-child { border-top: 1px solid var(--border-line); }
.sig-list .sig-list__key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.sig-list .sig-list__val {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 24, "wght" 460, "SOFT" 20;
  font-weight: 460;
  font-size: 17px;
  color: var(--ink-primary);
  letter-spacing: -0.005em;
}

/* ---------- install progress (small badge next to CTA) -------------- */
.install-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-pill);
  background: var(--bg-recess);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-secondary);
  letter-spacing: 0.01em;
}
.install-meta__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-live);
  flex-shrink: 0;
}

.titlebar__nav a { min-height: 44px; display: inline-flex; align-items: center; }
.btn-nav { min-height: 44px; min-width: 44px; }
.key-cap { min-height: 44px; }
.entry-action { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; }
.metric-clear { min-height: 44px; display: inline-flex; align-items: center; }
