/* components.css
   Responsibility: reusable UI pieces that could appear on any page:
   brand lockup, buttons, app cards, record vignette rows, fact list.
   No page layout or section spacing here. */

/* Brand lockup: trimmed mark + company name as real text */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  display: block;
  height: 30px;
  width: auto;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text);
}

/* Buttons: solid white moves the user forward, quiet outline is secondary */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-solid {
  background: var(--action);
  color: var(--action-ink);
}

.btn-solid:hover {
  background: var(--action-hover);
  text-decoration: none;
}

.btn-quiet {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.btn-quiet:hover {
  border-color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

/* App icon */
.app-icon {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 15px;
  flex: none;
}

.status {
  color: var(--text-faint);
  font-size: 15px;
}

/* Record vignette (the Vaultara mock rows, in Vaultara's own colours) */
.vignette {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--vaultara-navy-deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.row .name {
  font-weight: 600;
  font-size: 15.5px;
}

.row .state {
  margin-left: auto;
  font-size: 14px;
  color: #8A92AC;
  text-align: right;
}

.d-ok { background: var(--ok); }
.d-warn { background: var(--warn); }
.d-danger { background: var(--danger); }
.s-warn { color: var(--warn); }
.s-danger { color: var(--danger); }

/* Fact list (About section) */
.facts {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  font-size: 15px;
}

.fact + .fact {
  border-top: 1px solid var(--line);
}

.fact .k {
  color: var(--text-faint);
}

.fact .v {
  text-align: right;
  font-weight: 500;
}